]> git.sesse.net Git - vlc/commitdiff
macosx/framework: Add video_dirs to the list of MediaDiscoverer by default.
authorPierre d'Herbemont <pdherbemont@free.fr>
Sat, 5 Dec 2009 15:41:20 +0000 (16:41 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Sat, 5 Dec 2009 15:42:09 +0000 (16:42 +0100)
projects/macosx/framework/Sources/VLCMediaDiscoverer.m

index a892c99c58e13f41b9513ca20226216a9958e2ca..5c7e2681f65827e59dd3c5366664a2304d898053 100644 (file)
@@ -77,6 +77,7 @@ static void HandleMediaDiscovererEnded( const libvlc_event_t * event, void * use
         availableMediaDiscoverer = [[NSArray arrayWithObjects:
                                 [[[VLCMediaDiscoverer alloc] initWithName:@"sap"] autorelease],
                                 [[[VLCMediaDiscoverer alloc] initWithName:@"freebox"] autorelease],
+                                [[[VLCMediaDiscoverer alloc] initWithName:@"video_dir"] autorelease],
                                 [[[VLCMediaDiscoverer alloc] initWithName:@"shoutcast"] autorelease],
                                 [[[VLCMediaDiscoverer alloc] initWithName:@"shoutcasttv"] autorelease], nil] retain];
     }