diff options
author | James Almer <jamrial@gmail.com> | 2017-03-24 18:42:19 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-07 17:16:17 -0300 |
commit | b8f26779d615dfb466e90627323b1a4e40639f76 (patch) | |
tree | ccffb764e336d7fb4886f1491c18eb4d1e0b5b7b /tests/ref/fate/h264_mp4toannexb_ticket5927 | |
parent | 9f102653fd723005f26c6e8c7525fec585631a72 (diff) | |
download | ffmpeg-b8f26779d615dfb466e90627323b1a4e40639f76.tar.gz |
lavf: use the new bitstream filter for extracting extradata
This merges commits 8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4 and
096a8effa3f8f3455292c958c3ed07e798def7bd by Anton Khirnov, with the
following change:
- extract_extradata_check() is added to know if the codec is supported
by the bsf before trying to initialize it. This behaviour is similar to
the old AVCodecParser.split checks.
The FATE reference changes are due to the filtered out NAL units that
the old AVCodecParser.split implementation left alone.
Decoding is unchanged as the functions that parse extradata simply
ignored said unnecessary NAL units.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref/fate/h264_mp4toannexb_ticket5927')
-rw-r--r-- | tests/ref/fate/h264_mp4toannexb_ticket5927 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/h264_mp4toannexb_ticket5927 b/tests/ref/fate/h264_mp4toannexb_ticket5927 index 60a1deb8e1..95e35c4d80 100644 --- a/tests/ref/fate/h264_mp4toannexb_ticket5927 +++ b/tests/ref/fate/h264_mp4toannexb_ticket5927 @@ -1,6 +1,6 @@ a3b02fd09392e01619cebc959d4d9ff2 *tests/data/fate/h264_mp4toannexb_ticket5927.h264 595583 tests/data/fate/h264_mp4toannexb_ticket5927.h264 -#extradata 0: 59, 0xf10e1136 +#extradata 0: 33, 0x84fe08f8 #tb 0: 1/1200000 #media_type 0: video #codec_id 0: h264 |