Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
structure = gst_caps_get_structure(out_caps, 0);
gst_structure_set_value(structure, "width", v_width);
gst_structure_set_value(structure, "height", v_height);
+ gst_structure_set(structure, "opengl", G_TYPE_BOOLEAN, USE_VAAPI_GLX, NULL);
if (v_framerate)
gst_structure_set_value(structure, "framerate", v_framerate);
if (v_par)
if (v_par)
gst_structure_set_value(structure, "pixel-aspect-ratio", v_par);
+ gst_structure_set(structure, "opengl", G_TYPE_BOOLEAN, USE_VAAPI_GLX, NULL);
+
other_caps = gst_caps_copy(decode->srcpad_caps);
success = gst_pad_set_caps(decode->srcpad, other_caps);
gst_caps_unref(other_caps);