mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst/volume/gstvolume.c: do not update controlled params, if buffer has no timestamp
Original commit message from CVS: * gst/volume/gstvolume.c: (gst_volume_class_init), (volume_transform): do not update controlled params, if buffer has no timestamp
This commit is contained in:
parent
242ef1b05b
commit
65799096bf
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-08-30 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst/volume/gstvolume.c: (gst_volume_class_init),
|
||||||
|
(volume_transform):
|
||||||
|
do not update controlled params, if buffer has no timestamp
|
||||||
|
|
||||||
2005-08-29 Stefan Kost <ensonic@users.sf.net>
|
2005-08-29 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -395,7 +395,8 @@ volume_transform (GstBaseTransform * base, GstBuffer * inbuf,
|
||||||
{
|
{
|
||||||
GstVolume *this = GST_VOLUME (base);
|
GstVolume *this = GST_VOLUME (base);
|
||||||
|
|
||||||
gst_object_sink_values (G_OBJECT (this), GST_BUFFER_TIMESTAMP (outbuf));
|
if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (outbuf)))
|
||||||
|
gst_object_sink_values (G_OBJECT (this), GST_BUFFER_TIMESTAMP (outbuf));
|
||||||
|
|
||||||
this->process (this, GST_BUFFER_TIMESTAMP (outbuf),
|
this->process (this, GST_BUFFER_TIMESTAMP (outbuf),
|
||||||
GST_BUFFER_DATA (outbuf), GST_BUFFER_SIZE (outbuf));
|
GST_BUFFER_DATA (outbuf), GST_BUFFER_SIZE (outbuf));
|
||||||
|
|
Loading…
Reference in a new issue