mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 01:32:42 +00:00
aggregator: Wake up the src thread after handling a latency query
Due to changed latencies or changed live-ness we might have to adjust if we wait on a deadline at all and how long.
This commit is contained in:
parent
a20863a7ec
commit
7240852e55
1 changed files with 9 additions and 1 deletions
|
@ -1159,7 +1159,15 @@ _src_query (GstAggregator * self, GstQuery * query)
|
||||||
}
|
}
|
||||||
case GST_QUERY_LATENCY:
|
case GST_QUERY_LATENCY:
|
||||||
{
|
{
|
||||||
return gst_aggregator_query_latency (self, query);
|
gboolean ret;
|
||||||
|
|
||||||
|
ret = gst_aggregator_query_latency (self, query);
|
||||||
|
/* Wake up the src thread again, due to changed latencies
|
||||||
|
* or changed live-ness we might have to adjust if we wait
|
||||||
|
* on a deadline at all and how long.
|
||||||
|
*/
|
||||||
|
SRC_STREAM_BROADCAST (self);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue