Commit 3c7ecf9c authored by Felix Paul Kühne's avatar Felix Paul Kühne

MVK: fix installation target

parent 1350d548
......@@ -70,7 +70,7 @@
7A5ECB6211DE961B00F66AF3 /* Copy Headers */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = include/MobileVLCKit;
dstPath = MobileVLCKit;
dstSubfolderSpec = 16;
files = (
7A5ECB9E11DE975A00F66AF3 /* MobileVLCKit.h in Copy Headers */,
......
......@@ -299,7 +299,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
{
int count = libvlc_video_get_track_count(_playerInstance);
if (count <= 0)
return NSNotFound;
return INT_MAX;
return libvlc_video_get_track(_playerInstance);
}
......@@ -356,7 +356,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
NSInteger count = libvlc_video_get_spu_count(_playerInstance);
if (count <= 0)
return NSNotFound;
return INT_MAX;
return libvlc_video_get_spu(_playerInstance);
}
......@@ -612,7 +612,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
{
int count = libvlc_media_player_get_chapter_count(_playerInstance);
if (count <= 0)
return NSNotFound;
return INT_MAX;
int result = libvlc_media_player_get_chapter(_playerInstance);
return result;
}
......@@ -659,7 +659,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
{
NSInteger count = libvlc_media_player_get_title_count(_playerInstance);
if (count <= 0)
return NSNotFound;
return INT_MAX;
return libvlc_media_player_get_title(_playerInstance);
}
......@@ -805,7 +805,7 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
{
NSInteger count = libvlc_audio_get_track_count(_playerInstance);
if (count <= 0)
return NSNotFound;
return INT_MAX;
return libvlc_audio_get_track(_playerInstance);
}
......
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