summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-03-08 02:06:46 +1100
committerMatthew Waters <matthew@centricular.com>2016-03-08 02:06:46 +1100
commita68c8978a6be3695c3b1c4e2c0af6911c0221749 (patch)
tree1567dd374f41216ff776aa3f3cb25083265e5a2d
parentaa6062945c9e4e293332cfc6ab1832647c09008e (diff)
downloadgstreamer-plugins-bad-a68c8978a6be3695c3b1c4e2c0af6911c0221749.tar.gz
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.
-rw-r--r--ext/gl/gstglvideomixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gl/gstglvideomixer.c b/ext/gl/gstglvideomixer.c
index 72ad8c232..208a6df83 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