avidemux: Don't seek on empty streams
This commit is contained in:
parent
a6ed612f42
commit
6e849f84fc
@ -3484,7 +3484,7 @@ gst_avi_demux_do_seek (GstAviDemux * avi, GstSegment * segment)
|
||||
GstAviStream *ostream;
|
||||
|
||||
ostream = &avi->stream[i];
|
||||
if (ostream == stream)
|
||||
if ((ostream == stream) || (ostream->index == NULL))
|
||||
continue;
|
||||
|
||||
/* get the entry index for the requested position */
|
||||
|
Loading…
x
Reference in New Issue
Block a user