GST_START_TEST (test_constructors)
{
GstBufferPool *pool = NULL;
- GstGLSLStage *stage = NULL;
GstGLColorConvert *convert = NULL;
GstGLOverlayCompositor *compositor = NULL;
GstGLUpload *upload = NULL;
fail_if (pool == NULL);
gst_object_unref (pool);
- stage = gst_glsl_stage_new_default_fragment (context);
- fail_if (stage == NULL);
- gst_object_unref (stage);
-
convert = gst_gl_color_convert_new (context);
fail_if (convert == NULL);
gst_object_unref (convert);
{
GstGLFramebuffer *framebuffer = NULL;
GstGLShader *shader = NULL;
+ GstGLSLStage *stage = NULL;
framebuffer = gst_gl_framebuffer_new (context);
fail_if (framebuffer == NULL);
shader = gst_gl_shader_new (context);
fail_if (shader == NULL);
gst_object_unref (shader);
+
+ stage = gst_glsl_stage_new_default_fragment (context);
+ fail_if (stage == NULL);
+ gst_object_unref (stage);
}
GST_START_TEST (test_constructors_require_activated_context)