mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
assrender: Make sure that the video buffer is writable before writing to it
This commit is contained in:
parent
9356b9df10
commit
d85be17a00
1 changed files with 1 additions and 0 deletions
|
@ -1024,6 +1024,7 @@ gst_ass_render_chain_video (GstPad * pad, GstBuffer * buffer)
|
|||
return ret;
|
||||
}
|
||||
|
||||
buffer = gst_buffer_make_writable (buffer);
|
||||
render->blit (render, ass_image, buffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue