mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtspsrc: Chain up to the parent class' provide_clock() implementation
If no clock was provided directly by rtspsrc. This behaviour was removed
by f8013487c9
and results in rtspsrc not
providing the system clock via the rtpjitterbuffer.
As a result, if another element like an audio sink, provides a clock,
the pipeline would select that (when going to PAUSED/PLAYING again later).
Audio clocks usually don't progress in PAUSED, and thus our live source
won't be able to use the clock to produce data, making the sink never
preroll and everything is stuck.
This commit is contained in:
parent
7c658c3c04
commit
c99f7579f3
1 changed files with 2 additions and 2 deletions
|
@ -964,9 +964,9 @@ gst_rtspsrc_provide_clock (GstElement * element)
|
|||
GstClock *clock;
|
||||
|
||||
if ((clock = src->provided_clock) != NULL)
|
||||
gst_object_ref (clock);
|
||||
return gst_object_ref (clock);
|
||||
|
||||
return clock;
|
||||
return GST_ELEMENT_CLASS (parent_class)->provide_clock (element);
|
||||
}
|
||||
|
||||
/* a proxy string of the format [user:passwd@]host[:port] */
|
||||
|
|
Loading…
Reference in a new issue