assrender: Make sure that the video buffer is writable before writing to it

This commit is contained in:
Sebastian Dröge 2010-01-14 12:56:12 +01:00
parent 9356b9df10
commit d85be17a00

View file

@ -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);
} }