summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-12-08 11:51:36 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-12-08 11:51:36 +0100
commit811a2ef7aaa90ccf50a95ee0cfec28d6fa149505 (patch)
treec5ed767050d217612e1b73cc26b931f631bee5a4 /gst-libs
parentfd828c4ac70a7fb2d60a378ef8bc60cfcb1a9906 (diff)
downloadgstreamer-plugins-bad-811a2ef7aaa90ccf50a95ee0cfec28d6fa149505.tar.gz
basevideoencoder: Only make the header buffer metadata writable, not the buffer
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/video/gstbasevideoencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/gstbasevideoencoder.c b/gst-libs/gst/video/gstbasevideoencoder.c
index bdcb27525..c14d7a116 100644
--- a/gst-libs/gst/video/gstbasevideoencoder.c
+++ b/gst-libs/gst/video/gstbasevideoencoder.c
@@ -1040,7 +1040,7 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
if (fevt->all_headers) {
if (base_video_encoder->headers) {
headers = gst_buffer_ref (base_video_encoder->headers);
- headers = gst_buffer_make_writable (headers);
+ headers = gst_buffer_make_metadata_writable (headers);
}
}