mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
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().
This commit is contained in:
parent
b229b8f3f9
commit
8ffe4445f6
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
if (gst_tag_list_peek_string_index (taglist, GST_TAG_CAPTURING_SOURCE, 0,
|
||||||
&str)) {
|
&str)) {
|
||||||
if (strcmp (str, "dsc") == 0) {
|
if (strcmp (str, "dsc") == 0) {
|
||||||
value = 0;
|
value = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue