mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
matroskademux: Answer SEEKING queries in the original format
This commit is contained in:
parent
efcfb89b5c
commit
b7bf2f6820
1 changed files with 1 additions and 1 deletions
|
@ -1934,7 +1934,7 @@ gst_matroska_demux_query (GstMatroskaDemux * demux, GstPad * pad,
|
|||
gst_query_parse_seeking (query, &fmt, NULL, NULL, NULL);
|
||||
|
||||
if (fmt != GST_FORMAT_TIME || !demux->index) {
|
||||
gst_query_set_seeking (query, GST_FORMAT_TIME, FALSE, -1, -1);
|
||||
gst_query_set_seeking (query, fmt, FALSE, -1, -1);
|
||||
} else {
|
||||
gst_query_set_seeking (query, GST_FORMAT_TIME, TRUE, 0,
|
||||
demux->duration);
|
||||
|
|
Loading…
Reference in a new issue