compiling passed in 3.0 for vaapiencode
[profile/ivi/gstreamer-vaapi.git] / gst / vaapiencode / gstvaapih264encode.c
index 343cff6..8c9feff 100644 (file)
@@ -7,8 +7,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_vaapi_h264_encode_debug);
 static const char gst_h264encode_sink_caps_str[] =
     GST_CAPS_CODEC("video/x-raw-yuv, " "format = (fourcc) { I420 } ")
     GST_CAPS_CODEC("video/x-raw-yuv, " "format = (fourcc) { NV12 } ")
-    GST_CAPS_CODEC("video/x-vaapi-surface ")
-    ;
+    GST_VAAPI_SURFACE_CAPS;
 
 static const GstElementDetails gst_h264encode_details =
     GST_ELEMENT_DETAILS(