diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-12-08 11:51:36 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-12-08 11:51:36 +0100 |
commit | 811a2ef7aaa90ccf50a95ee0cfec28d6fa149505 (patch) | |
tree | c5ed767050d217612e1b73cc26b931f631bee5a4 /gst-libs | |
parent | fd828c4ac70a7fb2d60a378ef8bc60cfcb1a9906 (diff) | |
download | gstreamer-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.c | 2 |
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); } } |