Fix writing orientation and date exif tags in camerabin.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Thu, 5 Dec 2013 07:30:04 +0000 (17:30 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 17 Jan 2014 12:03:37 +0000 (13:03 +0100)
commit4565cf26af8131a5c060598fd22e597f8aa9ba5d
tree602f5b1f89f7894a74ea23b182f2ca9976cb3fee
parent0be45b5669a54b5c26ea4dfb037f8bb515d57bff
Fix writing orientation and date exif tags in camerabin.

Orientation tags need to be transformed from the string tag returned
by gstreamer to the orientation in degrees.  Date tags need to be
inserted with gst_date_time_new_local_time.  Finally setting a tag
value shouldn't clear all other tags.

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