[vlc-devel] commit: macosx/framework: shoutcast is gone. (Pierre d'Herbemont )
git version control
git at videolan.org
Mon Feb 15 16:56:33 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Feb 15 16:54:52 2010 +0100| [e1bdce67e23065d1dd13294c9e7e43d9bcdfacf8] | committer: Pierre d'Herbemont
macosx/framework: shoutcast is gone.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1bdce67e23065d1dd13294c9e7e43d9bcdfacf8
---
.../macosx/framework/Sources/VLCMediaDiscoverer.m | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/projects/macosx/framework/Sources/VLCMediaDiscoverer.m b/projects/macosx/framework/Sources/VLCMediaDiscoverer.m
index 74d76e1..02b9ce9 100644
--- a/projects/macosx/framework/Sources/VLCMediaDiscoverer.m
+++ b/projects/macosx/framework/Sources/VLCMediaDiscoverer.m
@@ -78,9 +78,7 @@ static void HandleMediaDiscovererEnded( const libvlc_event_t * event, void * use
[[[VLCMediaDiscoverer alloc] initWithName:@"sap"] autorelease],
[[[VLCMediaDiscoverer alloc] initWithName:@"upnp_intel"] autorelease],
[[[VLCMediaDiscoverer alloc] initWithName:@"freebox"] autorelease],
- [[[VLCMediaDiscoverer alloc] initWithName:@"video_dir"] autorelease],
- [[[VLCMediaDiscoverer alloc] initWithName:@"shoutcast"] autorelease],
- [[[VLCMediaDiscoverer alloc] initWithName:@"shoutcasttv"] autorelease], nil] retain];
+ [[[VLCMediaDiscoverer alloc] initWithName:@"video_dir"] autorelease], nil] retain];
}
return availableMediaDiscoverer;
}
@@ -93,7 +91,7 @@ static void HandleMediaDiscovererEnded( const libvlc_event_t * event, void * use
discoveredMedia = nil;
mdis = libvlc_media_discoverer_new_from_name([VLCLibrary sharedInstance],
[aServiceName UTF8String]);
-
+ NSAssert(mdis, @"No such media discoverer");
libvlc_event_manager_t * p_em = libvlc_media_discoverer_event_manager(mdis);
libvlc_event_attach(p_em, libvlc_MediaDiscovererStarted, HandleMediaDiscovererStarted, self);
libvlc_event_attach(p_em, libvlc_MediaDiscovererEnded, HandleMediaDiscovererEnded, self);
More information about the vlc-devel
mailing list