mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
validate: Recalculate latency on LATENCY messages
This commit is contained in:
parent
c1f613d8e7
commit
edd789cfb7
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data)
|
||||||
break;
|
break;
|
||||||
case GST_MESSAGE_ASYNC_DONE:
|
case GST_MESSAGE_ASYNC_DONE:
|
||||||
break;
|
break;
|
||||||
|
case GST_MESSAGE_LATENCY:
|
||||||
|
gst_bin_recalculate_latency (GST_BIN (pipeline));
|
||||||
|
break;
|
||||||
case GST_MESSAGE_STATE_CHANGED:
|
case GST_MESSAGE_STATE_CHANGED:
|
||||||
if (GST_MESSAGE_SRC (message) == GST_OBJECT (pipeline)) {
|
if (GST_MESSAGE_SRC (message) == GST_OBJECT (pipeline)) {
|
||||||
GstState oldstate, newstate, pending;
|
GstState oldstate, newstate, pending;
|
||||||
|
|
Loading…
Reference in a new issue