dvbsuboverlay: no need to make buffer writable twice

This commit is contained in:
Mark Nauwelaerts 2012-07-17 18:05:23 +02:00
parent 47be2fc3d8
commit a39b6cc1b8

View file

@ -907,7 +907,6 @@ gst_dvbsub_overlay_chain_video (GstPad * pad, GstObject * parent,
if (g_atomic_int_get (&overlay->enable) && overlay->current_subtitle) {
GstVideoFrame frame;
buffer = gst_buffer_make_writable (buffer);
g_assert (overlay->current_comp);
if (overlay->attach_compo_to_buffer) {
GST_DEBUG_OBJECT (overlay, "Attaching overlay image to video buffer");