assrender: Make sure that the video buffer is writable before writing to it
This commit is contained in:
parent
9356b9df10
commit
d85be17a00
@ -1024,6 +1024,7 @@ gst_ass_render_chain_video (GstPad * pad, GstBuffer * buffer)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buffer = gst_buffer_make_writable (buffer);
|
||||||
render->blit (render, ass_image, buffer);
|
render->blit (render, ass_image, buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user