mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
basesink: Make gst_base_sink_query return TRUE if the segment query succeeded.
Fixes bug #620490.
This commit is contained in:
parent
cca642e213
commit
6b8baaed50
1 changed files with 1 additions and 0 deletions
|
@ -4654,6 +4654,7 @@ gst_base_sink_query (GstElement * element, GstQuery * query)
|
||||||
/* FIXME, bring start/stop to stream time */
|
/* FIXME, bring start/stop to stream time */
|
||||||
gst_query_set_segment (query, basesink->segment.rate,
|
gst_query_set_segment (query, basesink->segment.rate,
|
||||||
GST_FORMAT_TIME, basesink->segment.start, basesink->segment.stop);
|
GST_FORMAT_TIME, basesink->segment.start, basesink->segment.stop);
|
||||||
|
res = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_QUERY_SEEKING:
|
case GST_QUERY_SEEKING:
|
||||||
|
|
Loading…
Reference in a new issue