From: Stefan Kost Date: Wed, 25 May 2011 10:59:57 +0000 (+0300) Subject: exiftag: set value=1 if we found the token X-Git-Tag: RELEASE-0.11.0~36^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ffe4445f6e01623dc8c972f5e01b7677b8446f2;p=platform%2Fupstream%2Fgst-plugins-base.git exiftag: set value=1 if we found the token Otherwise we never write the tag. This would also be consistent with the code in deserialize_scene_type(). --- diff --git a/gst-libs/gst/tag/gstexiftag.c b/gst-libs/gst/tag/gstexiftag.c index c97901c6b..9d941da90 100644 --- a/gst-libs/gst/tag/gstexiftag.c +++ b/gst-libs/gst/tag/gstexiftag.c @@ -2608,7 +2608,7 @@ serialize_scene_type (GstExifWriter * writer, const GstTagList * taglist, if (gst_tag_list_peek_string_index (taglist, GST_TAG_CAPTURING_SOURCE, 0, &str)) { if (strcmp (str, "dsc") == 0) { - value = 0; + value = 1; } }