mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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
341e5291c3
commit
a27ff89d42
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