[vlc-commits] VLCKit: remove (void)setValue:(id)value forMeta:(NSString *) VLCMetaInformation;
Jean-Baptiste Kempf
git at videolan.org
Thu May 3 01:16:38 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 3 01:15:50 2012 +0200| [657081160425c36d99baf1495ba6738d0ec731e2] | committer: Jean-Baptiste Kempf
VLCKit: remove (void)setValue:(id)value forMeta:(NSString *)VLCMetaInformation;
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=657081160425c36d99baf1495ba6738d0ec731e2
---
.../macosx/framework/Headers/Public/VLCMedia.h | 6 ------
projects/macosx/framework/Sources/VLCMedia.m | 7 -------
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/projects/macosx/framework/Headers/Public/VLCMedia.h b/projects/macosx/framework/Headers/Public/VLCMedia.h
index fb12f49..a795b79 100644
--- a/projects/macosx/framework/Headers/Public/VLCMedia.h
+++ b/projects/macosx/framework/Headers/Public/VLCMedia.h
@@ -235,12 +235,6 @@ typedef enum VLCMediaState
@property (readonly) VLCMediaState state;
/**
- * Sets a value of the metaDictionary
- */
-- (void)setValue:(id)value forMeta:(NSString *)VLCMetaInformation;
-
-
-/**
* Tracks information NSDictionary Possible Keys
*/
diff --git a/projects/macosx/framework/Sources/VLCMedia.m b/projects/macosx/framework/Sources/VLCMedia.m
index 019cf90..9f2e4d2 100644
--- a/projects/macosx/framework/Sources/VLCMedia.m
+++ b/projects/macosx/framework/Sources/VLCMedia.m
@@ -226,13 +226,6 @@ static void HandleMediaParsedChanged(const libvlc_event_t * event, void * self)
return self;
}
-- (void)setValue:(NSString *)value forMeta:(NSString *)meta
-{
- libvlc_meta_t metaName = [VLCMedia stringToMetaType:meta];
- NSAssert(metaName >= 0, @"Invalid meta");
- libvlc_media_set_meta(p_md, metaName, [value UTF8String]);
-}
-
- (void)dealloc
{
libvlc_event_manager_t * p_em = libvlc_media_event_manager(p_md);
More information about the vlc-commits
mailing list