mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
basesink: Answer the query position when receiving it from upstream
Currently we are just returning FALSE, but we do have the information we should just answer the query the same way as when answering through the GstElement.query vmethod default implementation. https://bugzilla.gnome.org/show_bug.cgi?id=739580
This commit is contained in:
parent
9606e04895
commit
56606c5264
1 changed files with 5 additions and 0 deletions
|
@ -4852,6 +4852,11 @@ gst_base_sink_default_query (GstBaseSink * basesink, GstQuery * query)
|
|||
res = TRUE;
|
||||
break;
|
||||
}
|
||||
case GST_QUERY_POSITION:
|
||||
{
|
||||
res = default_element_query (GST_ELEMENT (basesink), query);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
res =
|
||||
gst_pad_query_default (basesink->sinkpad, GST_OBJECT_CAST (basesink),
|
||||
|
|
Loading…
Reference in a new issue