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
@ -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>
|
||||
|
||||
* 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);
|
||||
|
||||
/* we have no ringbuffer (must be NULL state */
|
||||
if (sink->ringbuffer == NULL)
|
||||
goto wrong_state;
|
||||
|
||||
if (!gst_ring_buffer_is_acquired (sink->ringbuffer))
|
||||
goto wrong_state;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user