mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst/audiorate/gstaudiorate.c: Make the metadata of the buffer writable before changing its flags.
Original commit message from CVS: * gst/audiorate/gstaudiorate.c: (gst_audio_rate_sink_event), (gst_audio_rate_chain): Make the metadata of the buffer writable before changing its flags.
This commit is contained in:
parent
3b3f11664f
commit
9838aef96c
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-08-28 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_sink_event),
|
||||
(gst_audio_rate_chain):
|
||||
Make the metadata of the buffer writable before changing its
|
||||
flags.
|
||||
|
||||
2006-08-28 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
|
||||
|
|
|
@ -501,6 +501,7 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf)
|
|||
if (audiorate->discont) {
|
||||
/* we need to output a discont buffer, do so now */
|
||||
GST_DEBUG_OBJECT (audiorate, "marking DISCONT on output buffer");
|
||||
buf = gst_buffer_make_metadata_writable (buf);
|
||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||
audiorate->discont = FALSE;
|
||||
} else if (GST_BUFFER_IS_DISCONT (buf)) {
|
||||
|
|
Loading…
Reference in a new issue