1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/fftools
Anton Khirnov 662364b2ef fftools/ffmpeg: stop using OutputStream.frame_number for streamcopy
This field is currently used by checks
- skipping packets before the first keyframe
- skipping packets before start time
to test whether any packets have been output already. But since
frame_number is incremented after the bitstream filters are applied
(which may involve delay), this use is incorrect. The keyframe check
works around this by adding an extra flag, the start-time check does
not.

Simplify both checks by replacing the seen_kf flag with a flag tracking
whether any packets have been output by do_streamcopy().
2022-04-13 12:07:54 +02:00
..
cmdutils.c fftools/cmdutils: drop redundant code 2022-03-22 18:49:43 +01:00
cmdutils.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00
ffmpeg_filter.c ffmpeg: convert to new channel layout-API 2022-03-15 09:42:46 -03:00
ffmpeg_hw.c ffmpeg_hw: make hardware selection for filters more user friendly 2021-09-12 13:33:50 -03:00
ffmpeg_opt.c fftools/ffmpeg: drop mistakenly added empty line 2022-03-22 18:49:43 +01:00
ffmpeg.c fftools/ffmpeg: stop using OutputStream.frame_number for streamcopy 2022-04-13 12:07:54 +02:00
ffmpeg.h fftools/ffmpeg: stop using OutputStream.frame_number for streamcopy 2022-04-13 12:07:54 +02:00
ffplay.c fftools: drop the fake "default" option from ffplay/ffprobe 2022-03-22 18:49:43 +01:00
ffprobe.c fftools: drop the fake "default" option from ffplay/ffprobe 2022-03-22 18:49:43 +01:00
Makefile fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00
opt_common.c fftools/opt_cmdutils: fix printing known channel layouts 2022-03-25 08:42:45 -03:00
opt_common.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00