ffmpeg/tests/ref/fate/h264-bsf-mp4toannexb-new-extradata
Zhao Zhili aa3b857101 avcodec/h264_mp4toannexb_bsf: process new extradata
For fate-h264_mp4toannexb_ticket5927 and
fate-h264_mp4toannexb_ticket5927_2, they work by accident
previously. The sample file has two 'avc1' entries, and video
samples use the second one. It means packets should be decoded with
new extradata in side data. Before this patch, only extradata was
kept in the output, new extradata has been dropped. The output can
be decoded because the two extradata are almost the same, except
level indication. This patch fixed the issue, and add another
fate test.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2023-11-22 19:42:14 +08:00

10 lines
322 B
Plaintext

#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 256x128
#sar 0: 1/1
0, 0, 0, 1, 49152, 0x08745db9
0, 1, 1, 1, 49152, 0x96bf5e58
0, 2, 2, 1, 49152, 0x8fe31b6d
0, 3, 3, 1, 49152, 0x0b621cc3