[mono/taglib-sharp] [2 commits] 10f79f2f: ignore IPTCIIM tag

"Stephen Shaw ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141a8330c2f-56833cae-9257-4c63-a811-7464215bef2d-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/taglib-sharp
  Compare: https://github.com/mono/taglib-sharp/compare/2006fea42300...a5f6949a53d0

   Commit: 10f79f2f160bab46034441ab7568af7a523ec388
   Author: Ailin Nemui <[email protected]> 
     Date: 2013-10-11 15:42:47 GMT
      URL: https://github.com/mono/taglib-sharp/commit/10f79f2f160bab46034441ab7568af7a523ec388

ignore IPTCIIM tag

Changed paths:
  M src/TagLib/Jpeg/File.cs

Modified: src/TagLib/Jpeg/File.cs
===================================================================
@@ -222,6 +222,12 @@ public override TagLib.Tag GetTag (TagLib.TagTypes type, bool create)
 						return tag;
 				}
 			}
+			if (type == TagTypes.IPTCIIM && create)
+			  {
+			    // FIXME: don't know how to create IPTCIIM tags
+			    return base.GetTag (type, false);
+			  }
+
 			return base.GetTag (type, create);
 		}
 

   Commit: a5f6949a53d09ce63ee7495580d6802921a21f14
   Author: Stephen Shaw <[email protected]> (decriptor)
     Date: 2013-10-11 15:44:55 GMT
      URL: https://github.com/mono/taglib-sharp/commit/a5f6949a53d09ce63ee7495580d6802921a21f14

Merge pull request #21 from ailin-nemui/master

ignore IPTCIIM tag

Changed paths:
  M src/TagLib/Jpeg/File.cs

Modified: src/TagLib/Jpeg/File.cs
===================================================================
@@ -222,6 +222,12 @@ public override TagLib.Tag GetTag (TagLib.TagTypes type, bool create)
 						return tag;
 				}
 			}
+			if (type == TagTypes.IPTCIIM && create)
+			  {
+			    // FIXME: don't know how to create IPTCIIM tags
+			    return base.GetTag (type, false);
+			  }
+
 			return base.GetTag (type, create);
 		}
 


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.