From 7b2ab7279ff9affc1e6220c8f6071067ec21e605 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 8 Mar 2016 02:06:46 +1100 Subject: [PATCH] glvideomixer: signal continuation in reset We want to iterate over all the pads, not just the first one. Fix by returning TRUE in the GstAggregatorPadForeachFunc. Removes a GST_IS_GL_CONTEXT() assertion on shutdown with >2 inputs using gst-launch. --- ext/gl/gstglvideomixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/gstglvideomixer.c b/ext/gl/gstglvideomixer.c index 72ad8c2..208a6df 100644 --- a/ext/gl/gstglvideomixer.c +++ b/ext/gl/gstglvideomixer.c @@ -1083,7 +1083,7 @@ _reset_pad_gl (GstAggregator * agg, GstAggregatorPad * aggpad, gpointer udata) pad->vertex_buffer = 0; } - return FALSE; + return TRUE; } static void -- 2.7.4