mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 20:31:20 +00:00
ffmpegdemux: The index_built AVFormatContext hasn't been used in over 2 years
This commit is contained in:
parent
fd80f177c9
commit
5aa722965c
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ gst_ffmpegdemux_do_seek (GstFFMpegDemux * demux, GstSegment * segment)
|
|||
|
||||
/* if we need to land on a keyframe, try to do so, we don't try to do a
|
||||
* keyframe seek if we are not absolutely sure we have an index.*/
|
||||
if (segment->flags & GST_SEEK_FLAG_KEY_UNIT && demux->context->index_built) {
|
||||
if (segment->flags & GST_SEEK_FLAG_KEY_UNIT) {
|
||||
gint keyframeidx;
|
||||
|
||||
GST_LOG_OBJECT (demux, "looking for keyframe in ffmpeg for time %"
|
||||
|
|
Loading…
Reference in a new issue