X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=blobdiff_plain;f=lib%2Fqtcampropertysetter.cpp;h=29db83de9c8f2d5b75ed951d1febdea8c5f843aa;hp=4f10833e00db4a1c42ec6d61deadbc47285c576e;hb=f16f2d7afbd39e1adeb193031b3be10279e3cb85;hpb=dcb587c6ebf20d1fe0ec182281ba6842cabf5527;ds=sidebyside diff --git a/lib/qtcampropertysetter.cpp b/lib/qtcampropertysetter.cpp index 4f10833..29db83d 100644 --- a/lib/qtcampropertysetter.cpp +++ b/lib/qtcampropertysetter.cpp @@ -1,7 +1,7 @@ /*! * This file is part of CameraPlus. * - * Copyright (C) 2012 Mohammed Sameer + * Copyright (C) 2012-2013 Mohammed Sameer * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -54,17 +54,19 @@ public: gst_object_unref(elem); break; + case GST_ITERATOR_RESYNC: gst_iterator_resync(iter); break; + case GST_ITERATOR_ERROR: - done = TRUE; - break; case GST_ITERATOR_DONE: - done = TRUE; + done = true; break; } } + + gst_iterator_free(iter); } void setProperties(GstElement *element) {