mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-02 14:20:06 +00:00
Send a clock_provide message on the bus when we get a netclock
This commit is contained in:
parent
547df8e14f
commit
52e440c91b
1 changed files with 4 additions and 0 deletions
|
@ -5764,6 +5764,10 @@ gst_rtspsrc_parse_gst_clock (GstRTSPSrc * src, const gchar * gstclock)
|
|||
gst_object_unref (src->provided_clock);
|
||||
src->provided_clock = netclock;
|
||||
|
||||
gst_element_post_message (GST_ELEMENT_CAST (src),
|
||||
gst_message_new_clock_provide (GST_OBJECT_CAST (src),
|
||||
src->provided_clock, TRUE));
|
||||
|
||||
res = TRUE;
|
||||
cleanup:
|
||||
g_strfreev (fields);
|
||||
|
|
Loading…
Reference in a new issue