From 8e662fffb010ac7f4276b81a3aa3456ae22c69ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 8 Dec 2011 11:50:49 +0100 Subject: [PATCH] basevideoencoder: Only make the header buffer metadata writable, not the buffer --- omx/gstbasevideoencoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.7.4