mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-02 09:51:11 +00:00
dvbsuboverlay: no need to make buffer writable twice
This commit is contained in:
parent
47be2fc3d8
commit
a39b6cc1b8
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue