diff options
author | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-07-07 23:06:43 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-07-07 23:21:52 -0300 |
commit | 44e3d29ec409498fbea1c37a3d53394325b32b60 (patch) | |
tree | 201e26396a0a77ba94acbfea71c7d582f78a443e | |
parent | c28613d8dbde2b2f09cef07ec03a736a6aa3dba5 (diff) |
camerabin: Fix viewfiner-sink property for bins
Correctly iterate viewfinder-sink children when
it is a bin.
Fixes #623802
-rw-r--r-- | gst/camerabin/gstcamerabin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c index 13812a277..6d023d38a 100644 --- a/gst/camerabin/gstcamerabin.c +++ b/gst/camerabin/gstcamerabin.c @@ -641,7 +641,7 @@ camerabin_setup_view_elements (GstCameraBin * camera) /* Find the actual sink if using bin like autovideosink */ if (GST_IS_BIN (camera->view_sink)) { GList *child = NULL, *children = GST_BIN_CHILDREN (camera->view_sink); - for (child = children; child != NULL; child = g_list_next (children)) { + for (child = children; child != NULL; child = g_list_next (child)) { GObject *ch = G_OBJECT (child->data); if (g_object_class_find_property (G_OBJECT_GET_CLASS (ch), "sync")) { g_object_set (G_OBJECT (ch), "sync", FALSE, "qos", FALSE, "async", |