mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
vapostproc: Remove dead code.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1369>
This commit is contained in:
parent
26040bd932
commit
718e83ed4c
1 changed files with 2 additions and 7 deletions
|
@ -484,10 +484,6 @@ gst_va_vpp_set_info (GstVaBaseTransform * btrans, GstCaps * incaps,
|
||||||
else
|
else
|
||||||
self->op_flags &= ~VPP_CONVERT_FEATURE;
|
self->op_flags &= ~VPP_CONVERT_FEATURE;
|
||||||
|
|
||||||
if (self->op_flags & VPP_CONVERT_SIZE) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (gst_va_filter_set_video_info (btrans->filter, in_info, out_info)) {
|
if (gst_va_filter_set_video_info (btrans->filter, in_info, out_info)) {
|
||||||
gst_va_vpp_update_passthrough (self, FALSE);
|
gst_va_vpp_update_passthrough (self, FALSE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -1669,8 +1665,7 @@ transfer_colorimetry_from_input (GstVaVpp * self, GstCaps * in_caps,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
copy_misc_fields_from_input (GstVaVpp * self, GstCaps * in_caps,
|
copy_misc_fields_from_input (GstCaps * in_caps, GstCaps * out_caps)
|
||||||
GstCaps * out_caps)
|
|
||||||
{
|
{
|
||||||
const gchar *fields[] = { "interlace-mode", "field-order", "multiview-mode",
|
const gchar *fields[] = { "interlace-mode", "field-order", "multiview-mode",
|
||||||
"multiview-flags", "framerate"
|
"multiview-flags", "framerate"
|
||||||
|
@ -1712,7 +1707,7 @@ gst_va_vpp_fixate_caps (GstBaseTransform * trans, GstPadDirection direction,
|
||||||
gst_va_vpp_fixate_size (self, direction, caps, result);
|
gst_va_vpp_fixate_size (self, direction, caps, result);
|
||||||
|
|
||||||
/* some fields might be lost while feature caps conversion */
|
/* some fields might be lost while feature caps conversion */
|
||||||
copy_misc_fields_from_input (self, caps, result);
|
copy_misc_fields_from_input (caps, result);
|
||||||
|
|
||||||
/* fixate remaining fields */
|
/* fixate remaining fields */
|
||||||
result = gst_caps_fixate (result);
|
result = gst_caps_fixate (result);
|
||||||
|
|
Loading…
Reference in a new issue