mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
vdpau: Initialize some variables to make gcc 4.6 happy
This commit is contained in:
parent
44da64d86b
commit
36e037be67
2 changed files with 4 additions and 2 deletions
|
@ -248,6 +248,9 @@ gst_vdp_vpp_get_required_pictures (GstVdpVideoPostProcess * vpp)
|
||||||
case GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL:
|
case GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL:
|
||||||
ret = 2;
|
ret = 2;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
g_assert_not_reached ();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
@ -168,8 +168,7 @@ gst_vdp_h264_dec_calculate_poc (GstVdpH264Dec * h264_dec, GstH264Slice * slice)
|
||||||
{
|
{
|
||||||
GstH264Picture *pic;
|
GstH264Picture *pic;
|
||||||
GstH264Sequence *seq;
|
GstH264Sequence *seq;
|
||||||
|
guint poc = 0;
|
||||||
guint poc;
|
|
||||||
|
|
||||||
pic = slice->picture;
|
pic = slice->picture;
|
||||||
seq = pic->sequence;
|
seq = pic->sequence;
|
||||||
|
|
Loading…
Reference in a new issue