Commit b822d955 authored by Felix Paul Kühne's avatar Felix Paul Kühne

discoverer: adapt to updated libvlc API

parent b68dee7b
......@@ -56,8 +56,8 @@ NSString *const VLCMediaDiscovererCategory = @"VLCMediaDiscovererCategory";
+ (NSArray *)availableMediaDiscovererForCategoryType:(VLCMediaDiscovererCategoryType)categoryType
{
libvlc_media_discoverer_description **discoverers;
unsigned numberOfDiscoverers = libvlc_media_discoverer_list_get([VLCLibrary sharedInstance], (libvlc_media_discoverer_category)categoryType, &discoverers);
libvlc_media_discoverer_description_t **discoverers;
unsigned numberOfDiscoverers = libvlc_media_discoverer_list_get([VLCLibrary sharedInstance], (libvlc_media_discoverer_category_t)categoryType, &discoverers);
if (numberOfDiscoverers == 0) {
libvlc_media_discoverer_list_release(discoverers, numberOfDiscoverers);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment