vaapidecode: fix VA display type.
authorWind Yuan <feng.yuan@intel.com>
Tue, 10 Apr 2012 11:29:10 +0000 (13:29 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 10 Apr 2012 13:19:56 +0000 (15:19 +0200)
Fix typo whereby plain VADisplay type was used instead of the GstVaapiDisplay
wrapper.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapidecode.c

index 206ef2f..638a157 100644 (file)
@@ -301,7 +301,7 @@ error_commit_buffer:
 static gboolean
 gst_vaapidecode_create(GstVaapiDecode *decode, GstCaps *caps)
 {
-    VADisplay dpy;
+    GstVaapiDisplay *dpy;
     GstStructure *structure;
     int version;