projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ed612
)
avidemux: Don't seek on empty streams
author
Edward Hervey
<bilboed@bilboed.com>
Sun, 18 Oct 2009 14:02:01 +0000
(16:02 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Sun, 18 Oct 2009 14:16:43 +0000
(16:16 +0200)
gst/avi/gstavidemux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavidemux.c
b/gst/avi/gstavidemux.c
index
5ce5bc2
..
d842596
100644
(file)
--- 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 */