mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-06 15:38:50 +00:00
basevideoencoder: Only make the header buffer metadata writable, not the buffer
This commit is contained in:
parent
9ea6e7d2f2
commit
8e662fffb0
1 changed files with 1 additions and 1 deletions
|
@ -1030,7 +1030,7 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
|
||||||
if (fevt->all_headers) {
|
if (fevt->all_headers) {
|
||||||
if (base_video_encoder->headers) {
|
if (base_video_encoder->headers) {
|
||||||
headers = gst_buffer_ref (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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue