mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock in the NULL state.
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_provide_clock): Don't try to provide a clock in the NULL state.
This commit is contained in:
parent
833af598fc
commit
77ff8c9fdb
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-02-28 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||||
|
(gst_base_audio_sink_provide_clock):
|
||||||
|
Don't try to provide a clock in the NULL state.
|
||||||
|
|
||||||
2006-02-28 Wim Taymans <wim@fluendo.com>
|
2006-02-28 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_receive_event),
|
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_receive_event),
|
||||||
|
|
|
@ -181,6 +181,10 @@ gst_base_audio_sink_provide_clock (GstElement * elem)
|
||||||
|
|
||||||
sink = GST_BASE_AUDIO_SINK (elem);
|
sink = GST_BASE_AUDIO_SINK (elem);
|
||||||
|
|
||||||
|
/* we have no ringbuffer (must be NULL state */
|
||||||
|
if (sink->ringbuffer == NULL)
|
||||||
|
goto wrong_state;
|
||||||
|
|
||||||
if (!gst_ring_buffer_is_acquired (sink->ringbuffer))
|
if (!gst_ring_buffer_is_acquired (sink->ringbuffer))
|
||||||
goto wrong_state;
|
goto wrong_state;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue