1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/tests
Clément Bœsch 5ef1959080 ffmpeg: switch to the new BSF API
This commit is initially largely based on commit 4426540 from Anton
Khirnov <anton@khirnov.net> and two following fixes (80fb19b and
fe7b21c) which were previously skipped respectively in 98e3153, c9ee36e,
and 7fe7cdc.

mpeg4-bsf-unpack-bframes FATE reference is updated because the bsf
filter now actually fixes the extradata (mpeg4_unpack_bframes_init()
changing one byte is now honored on the output extradata).

The FATE references for remove_extra change because the packet flags
were wrong and the keyframes weren't marked, causing the bsf relying on
these proprieties to not actually work as intended.

The following was fixed by James Almer:

The filter option arguments are now also parsed correctly.

A hack to propagate extradata changed by bitstream filters after the
first av_bsf_receive_packet() call is added to maintain the current
behavior. This was previously done by av_bitstream_filter_filter() and
is needed for the aac_adtstoasc bsf.

The exit_on_error was not being checked anymore, and led to an exit
error in the last frame of h264_mp4toannexb test. Restoring this
behaviour prevents erroring out. The test is still changed as a result
due to the badly filtered frame now not being written after the failure.

Signed-off-by: Clément Bœsch <u@pkh.me>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-24 14:25:53 -03:00
..
api tests/api: add .gitignore 2016-06-23 17:57:22 +02:00
checkasm checkasm: h264dsp: Initialize the padding area 2016-08-11 19:55:16 +02:00
fate fate: add Test for h264_mp4toannexb (ticket2991) 2016-09-23 21:36:58 +02:00
filtergraphs fate: add hstack and vstack 2016-09-09 12:49:15 +02:00
ref ffmpeg: switch to the new BSF API 2016-09-24 14:25:53 -03:00
.gitignore Merge commit '257f00ec1ab06a2a161f535036c6512f3fc8e801' 2016-06-22 11:28:51 +02:00
audiogen.c
audiomatch.c tests/audiomatch: Fix compile warning 2016-08-25 18:37:29 +02:00
base64.c
copycooker.sh
extended.ffconcat fate: add concat demuxer tests 2015-11-15 19:22:46 +01:00
fate-run.sh fate: add aac_adtstoasc test (Ticket 3715) 2016-09-20 15:52:08 +02:00
fate-valgrind.supp
fate.sh Merge commit 'cd846b47977485bd4063e77a3324e6b7840567a2' 2016-03-04 16:19:57 +00:00
ffserver-regression.sh fate: use PROGSSUF 2015-10-16 14:02:12 +02:00
ffserver.conf
ffserver.regression.ref
lavf-regression.sh avformat: add a TTA Muxer 2016-08-04 16:25:40 -03:00
Makefile lavf/mov: Add support for edit list parsing. 2016-09-19 19:52:05 +02:00
md5.sh
reference.pnm
regression-funcs.sh fate: use PROGSSUF 2015-10-16 14:02:12 +02:00
rotozoom.c
simple1.ffconcat fate: add concat demuxer tests 2015-11-15 19:22:46 +01:00
simple2.ffconcat fate: add concat demuxer tests 2015-11-15 19:22:46 +01:00
test.ffmeta
tiny_psnr.c Drop pointless assert.h #includes 2016-05-03 15:45:10 +02:00
tiny_ssim.c tests/tiny_ssim: replace #define by typedef 2015-11-20 08:25:23 -05:00
utils.c
videogen.c