glvideomixer: signal continuation in reset
authorMatthew Waters <matthew@centricular.com>
Mon, 7 Mar 2016 15:06:46 +0000 (02:06 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:17 +0000 (19:32 +0000)
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 72ad8c2..208a6df 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