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.
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