From 50e0e96f3f8ed57443707289a621446cef0fe367 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 18 Nov 2016 12:21:54 -0300 Subject: avformat/apngenc: use the stream parameters extradata if available Fixes remuxing apng streams coming from the apng demuxer, which sends extradata during init. Signed-off-by: James Almer --- tests/lavf-regression.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/lavf-regression.sh') diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index e47be1854b..12954d5044 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -216,9 +216,9 @@ if [ -n "$do_apng" ] ; then file=${outfile}lavf.apng do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -pix_fmt rgb24 do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 -#file_copy=${outfile}lavf.copy.apng -#do_avconv $file_copy $DEC_OPTS -i $file $ENC_OPTS -c copy -#do_avconv_crc $file_copy $DEC_OPTS -i $target_path/$file_copy +file_copy=${outfile}lavf.copy.apng +do_avconv $file_copy $DEC_OPTS -i $file $ENC_OPTS -c copy +do_avconv_crc $file_copy $DEC_OPTS -i $target_path/$file_copy file=${outfile}lavf.png do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -pix_fmt rgb24 -frames:v 1 -f apng do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 -- cgit v1.2.3