Commit 16dbdc5c authored by Wim Taymans's avatar Wim Taymans

gst-libs/gst/audio/gstbaseaudiosink.c: Always sync on first sample we receive when starting.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_time), (gst_base_audio_sink_preroll),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Always sync on first sample we receive when starting.
parent 8ad81db4
2006-02-13 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_time), (gst_base_audio_sink_preroll),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Always sync on first sample we receive when starting.
2006-02-13 Wim Taymans <wim@fluendo.com>
* gst/playback/gstplaybin.c: (gen_vis_element):
......
......@@ -698,10 +698,10 @@ gst_base_audio_sink_change_state (GstElement * element,
}
if (!gst_ring_buffer_open_device (sink->ringbuffer))
goto open_failed;
sink->next_sample = 0;
break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
gst_ring_buffer_set_flushing (sink->ringbuffer, FALSE);
sink->next_sample = -1;
break;
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment