videoscale: Fix compiler warning in unit test
authorSebastian Dröge <sebastian@centricular.com>
Sat, 8 Feb 2014 16:11:54 +0000 (17:11 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 8 Feb 2014 16:11:54 +0000 (17:11 +0100)
error: implicit conversion from enumeration type
'GstFormat' to different enumeration type 'GstVideoFormat'

tests/check/elements/videoscale.c

index 1fd48248de37b13eb7932d88a0b97b44750d2591..369df323955dc322dc533dc9b3c3a9bd8953f4ab 100644 (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;