mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
vaapisink: fix GstVideoOverlay::expose() implementation.
Now that we always track the currently active video buffer, it is
not necessary to automatically increase its reference since this is
implicitly performed in ::show_frame() through the get_input_buffer()
helper from GstVaapiPluginBase class.
This is a regression from a26df80
.
This commit is contained in:
parent
0607898019
commit
b8601cf4c5
1 changed files with 1 additions and 2 deletions
|
@ -214,8 +214,7 @@ gst_vaapisink_video_overlay_expose(GstVideoOverlay *overlay)
|
|||
GstVaapiSink * const sink = GST_VAAPISINK(overlay);
|
||||
|
||||
if (sink->video_buffer)
|
||||
gst_vaapisink_show_frame(GST_BASE_SINK_CAST(sink),
|
||||
gst_buffer_ref(sink->video_buffer));
|
||||
gst_vaapisink_show_frame(GST_BASE_SINK_CAST(sink), sink->video_buffer);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue