mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
msdkvpp: correct the fixated caps for src pad
In src pad, fixate othercaps instead of the NULL result caps Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3999>
This commit is contained in:
parent
8e77f89e86
commit
5c47002d99
1 changed files with 1 additions and 1 deletions
|
@ -1453,7 +1453,7 @@ gst_msdkvpp_fixate_caps (GstBaseTransform * trans,
|
|||
gboolean *use_dmabuf;
|
||||
|
||||
if (direction == GST_PAD_SRC) {
|
||||
result = gst_caps_fixate (result);
|
||||
result = gst_caps_fixate (othercaps);
|
||||
use_dmabuf = &thiz->use_sinkpad_dmabuf;
|
||||
} else {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue