| 90 | } |
| 91 | |
| 92 | const char *AVDecoder::getMetadataEntry(const char *key, const char *default_value) |
| 93 | { |
| 94 | AVDictionaryEntry *entry; |
| 95 | |
| 96 | if((entry = av_dict_get(pFormatCtx->metadata, key, NULL, 0)) != NULL) { |
| 97 | return entry->value; |
| 98 | } |
| 99 | return default_value; |
| 100 | } |
| 101 | |
| 102 | void AVDecoder::getAudioMetadata(metadata_t &metadata) |
| 103 | { |
no outgoing calls
no test coverage detected