videoscale: Fix compiler warning in unit test

error: implicit conversion from enumeration type
'GstFormat' to different enumeration type 'GstVideoFormat'
This commit is contained in:
Sebastian Dröge 2014-02-08 17:11:54 +01:00
parent 4046a880de
commit e22243b2d0

View file

@ -34,7 +34,7 @@ get_num_formats (void)
{
guint i = 2;
while (gst_video_format_to_string ((GstFormat) i) != NULL)
while (gst_video_format_to_string ((GstVideoFormat) i) != NULL)
++i;
return i;