gst-libs/gst/audio/gstbaseaudiosink.c: If we receive EOS we can start playback of...
authorWim Taymans <wim.taymans@gmail.com>
Sat, 8 Oct 2005 11:47:52 +0000 (11:47 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 8 Oct 2005 11:47:52 +0000 (11:47 +0000)
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
If we receive EOS we can start playback of what we had.

ChangeLog
gst-libs/gst/audio/gstbaseaudiosink.c

index 2859d97..2be2478 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-10-08  Wim Taymans  <wim@fluendo.com>
 
+       * gst-libs/gst/audio/gstbaseaudiosink.c:
+       (gst_base_audio_sink_event), (gst_base_audio_sink_render):
+       If we receive EOS we can start playback of what we had.
+
+2005-10-08  Wim Taymans  <wim@fluendo.com>
+
        * gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
        (gst_multifdsink_finalize), (multifdsink_hash_remove),
        (gst_multifdsink_stop):
index fb786df..64c79c4 100644 (file)
@@ -306,6 +306,7 @@ gst_base_audio_sink_event (GstBaseSink * bsink, GstEvent * event)
       gst_ring_buffer_clear_all (sink->ringbuffer);
       break;
     case GST_EVENT_EOS:
+      gst_ring_buffer_start (sink->ringbuffer);
       break;
     default:
       break;