mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
vaapipostproc: removed unused parameter
Removed caps parameter from gst_vaapipostproc_transform_caps_impl() helper function since the it is not used. https://bugzilla.gnome.org/show_bug.cgi?id=785706
This commit is contained in:
parent
f6fc1774b9
commit
d3732a7cf8
1 changed files with 2 additions and 2 deletions
|
@ -1103,7 +1103,7 @@ ensure_allowed_srcpad_caps (GstVaapiPostproc * postproc)
|
||||||
|
|
||||||
static GstCaps *
|
static GstCaps *
|
||||||
gst_vaapipostproc_transform_caps_impl (GstBaseTransform * trans,
|
gst_vaapipostproc_transform_caps_impl (GstBaseTransform * trans,
|
||||||
GstPadDirection direction, GstCaps * caps)
|
GstPadDirection direction)
|
||||||
{
|
{
|
||||||
GstVaapiPostproc *const postproc = GST_VAAPIPOSTPROC (trans);
|
GstVaapiPostproc *const postproc = GST_VAAPIPOSTPROC (trans);
|
||||||
|
|
||||||
|
@ -1132,7 +1132,7 @@ gst_vaapipostproc_transform_caps (GstBaseTransform * trans,
|
||||||
(direction == GST_PAD_SINK) ? "sink" : "src");
|
(direction == GST_PAD_SINK) ? "sink" : "src");
|
||||||
|
|
||||||
g_mutex_lock (&postproc->postproc_lock);
|
g_mutex_lock (&postproc->postproc_lock);
|
||||||
caps = gst_vaapipostproc_transform_caps_impl (trans, direction, caps);
|
caps = gst_vaapipostproc_transform_caps_impl (trans, direction);
|
||||||
g_mutex_unlock (&postproc->postproc_lock);
|
g_mutex_unlock (&postproc->postproc_lock);
|
||||||
if (caps && filter) {
|
if (caps && filter) {
|
||||||
out_caps = gst_caps_intersect_full (caps, filter, GST_CAPS_INTERSECT_FIRST);
|
out_caps = gst_caps_intersect_full (caps, filter, GST_CAPS_INTERSECT_FIRST);
|
||||||
|
|
Loading…
Reference in a new issue