dvbsuboverlay: no need to make buffer writable twice
This commit is contained in:
parent
47be2fc3d8
commit
a39b6cc1b8
@ -907,7 +907,6 @@ gst_dvbsub_overlay_chain_video (GstPad * pad, GstObject * parent,
|
|||||||
if (g_atomic_int_get (&overlay->enable) && overlay->current_subtitle) {
|
if (g_atomic_int_get (&overlay->enable) && overlay->current_subtitle) {
|
||||||
GstVideoFrame frame;
|
GstVideoFrame frame;
|
||||||
|
|
||||||
buffer = gst_buffer_make_writable (buffer);
|
|
||||||
g_assert (overlay->current_comp);
|
g_assert (overlay->current_comp);
|
||||||
if (overlay->attach_compo_to_buffer) {
|
if (overlay->attach_compo_to_buffer) {
|
||||||
GST_DEBUG_OBJECT (overlay, "Attaching overlay image to video buffer");
|
GST_DEBUG_OBJECT (overlay, "Attaching overlay image to video buffer");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user