From: Sebastian Dröge Date: Thu, 8 Dec 2011 10:50:49 +0000 (+0100) Subject: basevideoencoder: Only make the header buffer metadata writable, not the buffer X-Git-Tag: 1.19.3~501^2~792 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e662fffb010ac7f4276b81a3aa3456ae22c69ed;p=platform%2Fupstream%2Fgstreamer.git basevideoencoder: Only make the header buffer metadata writable, not the buffer --- diff --git a/omx/gstbasevideoencoder.c b/omx/gstbasevideoencoder.c index c45fcea..b86e08e 100644 --- a/omx/gstbasevideoencoder.c +++ b/omx/gstbasevideoencoder.c @@ -1030,7 +1030,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); } }