mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
plugins: decoder can negotiate dmabuf downstream
This commit is contained in:
parent
9ed73e76af
commit
50242eaaf7
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ ensure_srcpad_allocator (GstVaapiPluginBase * plugin, GstVideoInfo * vinfo,
|
|||
/* enable direct rendering if downstream requests raw video */
|
||||
if (caps && gst_caps_is_video_raw (caps)) {
|
||||
if (plugin->srcpad_can_dmabuf) {
|
||||
if (GST_IS_BASE_TRANSFORM (plugin)) {
|
||||
if (GST_IS_VIDEO_DECODER (plugin) || GST_IS_BASE_TRANSFORM (plugin)) {
|
||||
plugin->srcpad_allocator =
|
||||
gst_vaapi_dmabuf_allocator_new (plugin->display, vinfo, 0,
|
||||
GST_PAD_SRC);
|
||||
|
|
Loading…
Reference in a new issue