mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
avidemux: Don't seek on empty streams
This commit is contained in:
parent
a6ed612f42
commit
6e849f84fc
1 changed files with 1 additions and 1 deletions
|
@ -3484,7 +3484,7 @@ gst_avi_demux_do_seek (GstAviDemux * avi, GstSegment * segment)
|
||||||
GstAviStream *ostream;
|
GstAviStream *ostream;
|
||||||
|
|
||||||
ostream = &avi->stream[i];
|
ostream = &avi->stream[i];
|
||||||
if (ostream == stream)
|
if ((ostream == stream) || (ostream->index == NULL))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* get the entry index for the requested position */
|
/* get the entry index for the requested position */
|
||||||
|
|
Loading…
Reference in a new issue