Use new gst_base_transform_set_gap_aware() function as volume correctly handles GST_B...
authorSebastian Dröge <slomo@circular-chaos.org>
Sat, 15 Dec 2007 03:40:34 +0000 (03:40 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sat, 15 Dec 2007 03:40:34 +0000 (03:40 +0000)
Original commit message from CVS:
* configure.ac:
* gst/volume/gstvolume.c: (gst_volume_init):
Use new gst_base_transform_set_gap_aware() function as volume
correctly handles GST_BUFFER_FLAG_GAP. Require core 0.10.15.1
for this.

ChangeLog
configure.ac
gst/volume/gstvolume.c

index 1bf4542..0ce7082 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * configure.ac:
+       * gst/volume/gstvolume.c: (gst_volume_init):
+         Use new gst_base_transform_set_gap_aware() function as volume
+         correctly handles GST_BUFFER_FLAG_GAP. Require core 0.10.15.1 
+         for this.
+
 2007-12-14  Wim Taymans  <wim.taymans@collabora.co.uk>
 
        * tests/examples/seek/seek.c: (msg_segment_done), (main):
index 37ac372..dcbe3a7 100644 (file)
@@ -54,7 +54,7 @@ dnl AS_LIBTOOL_TAGS
 AM_PROG_LIBTOOL
 
 dnl *** required versions of GStreamer stuff ***
-GST_REQ=0.10.14.1
+GST_REQ=0.10.15.1
 
 dnl *** autotools stuff ****
 
index 222ea0b..8733349 100644 (file)
@@ -479,6 +479,8 @@ gst_volume_init (GstVolume * this, GstVolumeClass * g_class)
     track->flags = GST_MIXER_TRACK_SOFTWARE;
     this->tracklist = g_list_append (this->tracklist, track);
   }
+
+  gst_base_transform_set_gap_aware (GST_BASE_TRANSFORM (this), TRUE);
 }
 
 /* NOTE: although it might be tempting to have volume_process_mute() which uses