mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
vdpau: Initialize possibly uninitialized variable
This commit is contained in:
parent
0d79ca29f7
commit
aabe73387a
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ static VdpVideoMixerFeature
|
||||||
gst_vdp_feature_from_deinterlace_method (GstVdpDeinterlaceMethods method)
|
gst_vdp_feature_from_deinterlace_method (GstVdpDeinterlaceMethods method)
|
||||||
{
|
{
|
||||||
gint i;
|
gint i;
|
||||||
VdpVideoMixerFeature feature;
|
VdpVideoMixerFeature feature = 0;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -183,7 +183,7 @@ gst_vdp_feature_from_deinterlace_method (GstVdpDeinterlaceMethods method)
|
||||||
VdpVideoMixerFeature feature;
|
VdpVideoMixerFeature feature;
|
||||||
} VdpDeinterlaceMethod;
|
} VdpDeinterlaceMethod;
|
||||||
|
|
||||||
VdpDeinterlaceMethod deinterlace_methods[2] = {
|
static const VdpDeinterlaceMethod deinterlace_methods[] = {
|
||||||
{GST_VDP_DEINTERLACE_METHOD_TEMPORAL,
|
{GST_VDP_DEINTERLACE_METHOD_TEMPORAL,
|
||||||
VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL},
|
VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL},
|
||||||
{GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL,
|
{GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL,
|
||||||
|
|
Loading…
Reference in a new issue