mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
msdkvpp: delete use_sinkpad_va and use_srcpad_va
This two variables are no longer useful. Delete them for now. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3231>
This commit is contained in:
parent
f25f528120
commit
78523c5130
2 changed files with 0 additions and 9 deletions
|
@ -623,9 +623,6 @@ gst_msdkvpp_decide_allocation (GstBaseTransform * trans, GstQuery * query)
|
|||
if (_gst_caps_has_feature (caps, GST_CAPS_FEATURE_MEMORY_DMABUF)) {
|
||||
GST_INFO_OBJECT (thiz, "MSDK VPP srcpad uses DMABuf memory");
|
||||
thiz->use_srcpad_dmabuf = TRUE;
|
||||
} else if (_gst_caps_has_feature (caps, GST_CAPS_FEATURE_MEMORY_VA)) {
|
||||
GST_INFO_OBJECT (thiz, "MSDK VPP srcpad uses VA memory");
|
||||
thiz->use_srcpad_va = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1366,12 +1363,10 @@ gst_msdkvpp_fixate_caps (GstBaseTransform * trans,
|
|||
GstMsdkVPP *thiz = GST_MSDKVPP (trans);
|
||||
GstCaps *result = NULL;
|
||||
gboolean *use_dmabuf;
|
||||
gboolean *use_va;
|
||||
|
||||
if (direction == GST_PAD_SRC) {
|
||||
result = gst_caps_fixate (result);
|
||||
use_dmabuf = &thiz->use_sinkpad_dmabuf;
|
||||
use_va = &thiz->use_sinkpad_va;
|
||||
} else {
|
||||
/*
|
||||
* Override mirroring & rotation properties once video-direction
|
||||
|
@ -1383,7 +1378,6 @@ gst_msdkvpp_fixate_caps (GstBaseTransform * trans,
|
|||
|
||||
result = gst_msdkvpp_fixate_srccaps (thiz, caps, othercaps);
|
||||
use_dmabuf = &thiz->use_srcpad_dmabuf;
|
||||
use_va = &thiz->use_srcpad_va;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (trans, "fixated to %" GST_PTR_FORMAT, result);
|
||||
|
@ -1397,7 +1391,6 @@ gst_msdkvpp_fixate_caps (GstBaseTransform * trans,
|
|||
direction == GST_PAD_SRC ? GST_PAD_SINK : GST_PAD_SRC, result)) {
|
||||
gst_caps_set_features (result, 0,
|
||||
gst_caps_features_new (GST_CAPS_FEATURE_MEMORY_VA, NULL));
|
||||
*use_va = TRUE;
|
||||
} else if (pad_accept_memory (thiz, GST_CAPS_FEATURE_MEMORY_DMABUF,
|
||||
direction == GST_PAD_SRC ? GST_PAD_SINK : GST_PAD_SRC, result)) {
|
||||
gst_caps_set_features (result, 0,
|
||||
|
|
|
@ -97,8 +97,6 @@ struct _GstMsdkVPP
|
|||
gboolean use_video_memory;
|
||||
gboolean use_sinkpad_dmabuf;
|
||||
gboolean use_srcpad_dmabuf;
|
||||
gboolean use_sinkpad_va;
|
||||
gboolean use_srcpad_va;
|
||||
gboolean shared_context;
|
||||
gboolean add_video_meta;
|
||||
gboolean need_vpp;
|
||||
|
|
Loading…
Reference in a new issue