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 1fd4824..369df32 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;