From 8ffe4445f6e01623dc8c972f5e01b7677b8446f2 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 25 May 2011 13:59:57 +0300 Subject: [PATCH] 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(). --- gst-libs/gst/tag/gstexiftag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/gstexiftag.c b/gst-libs/gst/tag/gstexiftag.c index c97901c6b0..9d941da909 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; } }