mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
8ad81db4b8
commit
16dbdc5c21
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2006-02-13 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/playback/gstplaybin.c: (gen_vis_element):
|
* 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))
|
if (!gst_ring_buffer_open_device (sink->ringbuffer))
|
||||||
goto open_failed;
|
goto open_failed;
|
||||||
sink->next_sample = 0;
|
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||||
gst_ring_buffer_set_flushing (sink->ringbuffer, FALSE);
|
gst_ring_buffer_set_flushing (sink->ringbuffer, FALSE);
|
||||||
|
sink->next_sample = -1;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue