diff --git a/src/VideoStreaming/VideoReceiver.cc b/src/VideoStreaming/VideoReceiver.cc index e563dcf7d321ae854d5988a909870a234160f6cc..633688e8eca898516feb206ea08e69601cb1bf22 100644 --- a/src/VideoStreaming/VideoReceiver.cc +++ b/src/VideoStreaming/VideoReceiver.cc @@ -823,7 +823,7 @@ VideoReceiver::_keyframeWatch(GstPad* pad, GstPadProbeInfo* info, gpointer user_ } else { VideoReceiver* pThis = (VideoReceiver*)user_data; // reset the clock - GstClock* clock = gst_pipeline_get_pipeline_clock(GST_PIPELINE(pThis->_pipeline)); + GstClock* clock = gst_pipeline_get_clock(GST_PIPELINE(pThis->_pipeline)); GstClockTime time = gst_clock_get_time(clock); gst_object_unref(clock); gst_element_set_base_time(pThis->_pipeline, time); // offset pipeline timestamps to start at zero again