瀏覽代碼

macosx/framework: Add video_dirs to the list of MediaDiscoverer by default.

Pierre d'Herbemont 15 年之前
父節點
當前提交
417fa868fb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Sources/VLCMediaDiscoverer.m

+ 1 - 0
Sources/VLCMediaDiscoverer.m

@@ -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];
     }