diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-10-18 16:02:01 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-10-18 16:16:43 +0200 |
commit | 6e849f84fcce5f6cbb5b018db7abace3e3d3b730 (patch) | |
tree | 04687b9d71c7d1e650db63170e970a58ca9a875a /gst | |
parent | a6ed612f42d216ab61252a97bc0f0f941a2d063d (diff) |
avidemux: Don't seek on empty streams
Diffstat (limited to 'gst')
-rw-r--r-- | gst/avi/gstavidemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 5ce5bc27..d8425964 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -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 */ |