glvideomixer: signal continuation in reset
authorMatthew Waters <matthew@centricular.com>
Mon, 7 Mar 2016 15:06:46 +0000 (02:06 +1100)
committerMatthew Waters <matthew@centricular.com>
Mon, 7 Mar 2016 15:06:46 +0000 (02:06 +1100)
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

index 72ad8c232d7beb1c625e492084685965225927be..208a6df83d0a46c1b47373fc6c87511f15420550 100644 (file)
@@ -1083,7 +1083,7 @@ _reset_pad_gl (GstAggregator * agg, GstAggregatorPad * aggpad, gpointer udata)
     pad->vertex_buffer = 0;
   }
 
-  return FALSE;
+  return TRUE;
 }
 
 static void