summaryrefslogtreecommitdiff
path: root/tests/image.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-07-15 14:42:33 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-07-15 14:42:33 +0200
commit7fa4973f8ac26eade0ea02fcd9a8971b8b902593 (patch)
treea2c32c42c3cf50885af1fc924f2310d290d986b2 /tests/image.c
parentabd432d7b1b49001ba35e4f082df924fe74b528d (diff)
Fix new video format API.
Fix new internal video format API, based on GstVideoFormat, to not clobber with system symbols. So replace the gst_video_format_* prefix with gst_vaapi_video_format_ prefix, even if the format type remains GstVideoFormat.
Diffstat (limited to 'tests/image.c')
-rw-r--r--tests/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/image.c b/tests/image.c
index d412a17c..305322b0 100644
--- a/tests/image.c
+++ b/tests/image.c
@@ -302,7 +302,7 @@ image_draw_rectangle(
stride[i] = gst_vaapi_image_get_pitch(image, i);
}
- if (gst_video_format_is_yuv(image_format))
+ if (gst_vaapi_video_format_is_yuv(image_format))
color = argb2yuv(color);
if (x < 0)