aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-27 14:11:34 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-15 11:03:15 +0200
commit2b99c6bfd57d00e7f06cda09d60db9dbefaa117e (patch)
tree03c1567b72c55abf0529f30c3d36e9839870065d /fftools/ffmpeg.h
parent09c686788e3be1f343ddf64be291e6df6946323f (diff)
downloadffmpeg-2b99c6bfd57d00e7f06cda09d60db9dbefaa117e.tar.gz
fftools/ffmpeg: move post-demux packet processing to ffmpeg_demux
That is a more appropriate place for this code and will allow hiding more of InputStream. The value of repeat_pict extracted from libavformat internal parser no longer needs to be trasmitted outside of the demuxing thread. Move readrate handling to the demuxer thread. This has to be done in the same commit, since it reads InputStream.dts,nb_packets, which are now set in the demuxer thread.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 8a5d5b13c8..1900f3deb6 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -380,12 +380,6 @@ typedef struct InputStream {
int wrap_correction_done;
- // the value of AVCodecParserContext.repeat_pict from the AVStream parser
- // for the last packet returned from ifile_get_packet()
- // -1 if unknown
- // FIXME: this is a hack, the avstream parser should not be used
- int last_pkt_repeat_pict;
-
int64_t filter_in_rescale_delta_last;
// when forcing constant input framerate through -r,