GStreamer: Remove tags when an invalid QVariant is assigned.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Tue, 4 Mar 2014 08:03:20 +0000 (18:03 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Mar 2014 01:36:46 +0000 (02:36 +0100)
commitcf68c9d02c85f5428436b8e756d4279ef93b9ca1
tree9c57dbde81526ee6988b4fc0cb10c1a732942eca
parent0e280e78e2fe0f0417ca284f6b0d7a536a970bfd
GStreamer: Remove tags when an invalid QVariant is assigned.

Clear the tag list before syncing with reference set so old values
are removed and explicitly remove invalid QVariants from the reference
set so that the type correction doesn't result in invalid values being
written instead.

Change-Id: I7d1bdc95cd2a2d601720db84c9b3ef629477bc99
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/gstreamer/camerabin/camerabinmetadata.cpp
src/plugins/gstreamer/camerabin/camerabinsession.cpp