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:
|
||||
ret = 2;
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -168,8 +168,7 @@ gst_vdp_h264_dec_calculate_poc (GstVdpH264Dec * h264_dec, GstH264Slice * slice)
|
|||
{
|
||||
GstH264Picture *pic;
|
||||
GstH264Sequence *seq;
|
||||
|
||||
guint poc;
|
||||
guint poc = 0;
|
||||
|
||||
pic = slice->picture;
|
||||
seq = pic->sequence;
|
||||
|
|
Loading…
Reference in a new issue