Use new gst_base_transform_set_gap_aware() function as volume correctly handles GST_BUFFER_FLAG_GAP. Require core 0.1...

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.
This commit is contained in:
Sebastian Dröge 2007-12-15 03:40:34 +00:00
parent d8e7a32aed
commit 248742277c
3 changed files with 11 additions and 1 deletions

View file

@ -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):

View 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 ****

View 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