matroskademux: pull mode should always report seekable

... as it no longer requires an index, but can seek by scanning as well.
This commit is contained in:
Mark Nauwelaerts 2011-01-18 14:48:04 +01:00
parent 9f7570f132
commit 68fc03fd76

View file

@ -2071,7 +2071,7 @@ gst_matroska_demux_query (GstMatroskaDemux * demux, GstPad * pad,
/* assuming we'll be able to get an index ... */ /* assuming we'll be able to get an index ... */
seekable = demux->seekable; seekable = demux->seekable;
} else { } else {
seekable = ! !demux->index; seekable = TRUE;
} }
gst_query_set_seeking (query, GST_FORMAT_TIME, seekable, gst_query_set_seeking (query, GST_FORMAT_TIME, seekable,