mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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;
|
||||
case GST_MESSAGE_ASYNC_DONE:
|
||||
break;
|
||||
case GST_MESSAGE_LATENCY:
|
||||
gst_bin_recalculate_latency (GST_BIN (pipeline));
|
||||
break;
|
||||
case GST_MESSAGE_STATE_CHANGED:
|
||||
if (GST_MESSAGE_SRC (message) == GST_OBJECT (pipeline)) {
|
||||
GstState oldstate, newstate, pending;
|
||||
|
|
Loading…
Reference in a new issue