| 98 | } |
| 99 | |
| 100 | bool ParserAVFormat::parseExtradata(ByteVector &extradata) |
| 101 | { |
| 102 | if (extradata.empty()) |
| 103 | return true; |
| 104 | |
| 105 | if (this->codecID.isAVC()) |
| 106 | return this->parseExtradata_AVC(extradata); |
| 107 | else if (this->codecID.isHEVC()) |
| 108 | return this->parseExtradata_hevc(extradata); |
| 109 | else if (this->codecID.isMpeg2()) |
| 110 | return this->parseExtradata_mpeg2(extradata); |
| 111 | else |
| 112 | return this->parseExtradata_generic(extradata); |
| 113 | } |
| 114 | |
| 115 | void ParserAVFormat::parseMetadata(const StringPairVec &metadata) |
| 116 | { |
no test coverage detected