Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
196bce31
Commit
196bce31
authored
Jan 06, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX: Make sure VLC.framework is renamed to VLCKit.framework.
parent
dc7425e3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
46 deletions
+9
-46
extras/MacOSX/Framework/Headers/Internal/VLCLibVLCBridging.h
extras/MacOSX/Framework/Headers/Internal/VLCLibVLCBridging.h
+1
-0
extras/MacOSX/Framework/Headers/Public/VLCMediaDiscoverer.h
extras/MacOSX/Framework/Headers/Public/VLCMediaDiscoverer.h
+1
-1
extras/MacOSX/Framework/VLC_Prefix.pch
extras/MacOSX/Framework/VLC_Prefix.pch
+0
-37
extras/MacOSX/VLC_app/Sources/VLCController.m
extras/MacOSX/VLC_app/Sources/VLCController.m
+1
-2
extras/MacOSX/VLC_app/VLC.xcodeproj/project.pbxproj
extras/MacOSX/VLC_app/VLC.xcodeproj/project.pbxproj
+2
-2
src/misc/darwin_specific.c
src/misc/darwin_specific.c
+4
-4
No files found.
extras/MacOSX/Framework/Headers/Internal/VLCLibVLCBridging.h
View file @
196bce31
...
...
@@ -23,6 +23,7 @@
*****************************************************************************/
#import "VLCLibrary.h"
#import "VLCMediaListAspect.h"
/**
* Bridges functionality between libvlc and VLCMediaList implementation.
...
...
extras/MacOSX/Framework/Headers/Public/VLCMediaDiscoverer.h
View file @
196bce31
...
...
@@ -23,7 +23,7 @@
*****************************************************************************/
#import <Cocoa/Cocoa.h>
#import <VLC/VLCMediaList.h>
#import <VLC
Kit
/VLCMediaList.h>
@class
VLCMediaList
;
...
...
extras/MacOSX/Framework/VLC_Prefix.pch
View file @
196bce31
...
...
@@ -2,49 +2,12 @@
// Prefix header for all source files of the 'VLC' target in the 'VLC' project.
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
#include <vlc/vlc.h>
#ifndef VLC_PUBLIC_API
// For some reason Xcode refuses to read vlc/vlc.h contents -- so we have to do
// this so we can supress the errors
#define VLC_PUBLIC_API extern
typedef int vlc_bool_t;
typedef struct vlc_list_t vlc_list_t;
typedef struct vlc_object_t vlc_object_t;
typedef signed long long vlc_int64_t;
#endif
#include <vlc/libvlc_structures.h>
#include <vlc/libvlc.h>
//
// Prefix header for all source files of the 'VLC' target in the 'VLC' project.
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
#include <vlc/vlc.h>
#ifndef VLC_PUBLIC_API
// For some reason Xcode refuses to read vlc/vlc.h contents -- so we have to do
// this so we can supress the errors
#define VLC_PUBLIC_API extern
typedef int vlc_bool_t;
typedef struct vlc_list_t vlc_list_t;
typedef struct vlc_object_t vlc_object_t;
typedef signed long long vlc_int64_t;
#endif
#include <vlc/libvlc_structures.h>
#include <vlc/libvlc.h>
extras/MacOSX/VLC_app/Sources/VLCController.m
View file @
196bce31
...
...
@@ -59,8 +59,7 @@
NSArray
*
mediaDiscoverers
=
[
NSArray
arrayWithObjects
:
[[[
VLCMediaDiscoverer
alloc
]
initWithName
:
@"shoutcasttv"
]
autorelease
],
[[[
VLCMediaDiscoverer
alloc
]
initWithName
:
@"shoutcast"
]
autorelease
],
[[[
VLCMediaDiscoverer
alloc
]
initWithName
:
@"sap"
]
autorelease
],
[[[
VLCMediaDiscoverer
alloc
]
initWithName
:
@"freebox"
]
autorelease
],
nil
];
[[[
VLCMediaDiscoverer
alloc
]
initWithName
:
@"sap"
]
autorelease
],
nil
];
NSArray
*
playlists
=
[
NSMutableArray
arrayWithObjects
:[
VLCMedia
mediaAsNodeWithName
:
@"Default Playlist"
],
nil
];
...
...
extras/MacOSX/VLC_app/VLC.xcodeproj/project.pbxproj
View file @
196bce31
...
...
@@ -413,10 +413,10 @@
files
=
(
);
inputPaths
=
(
$SRCROOT/../Framework/build/$BUILD_VARIANTS/VLC.framework
,
$SRCROOT/../Framework/build/$BUILD_VARIANTS/VLC
Kit
.framework
,
);
outputPaths
=
(
$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/VLC.framework
,
$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/VLC
Kit
.framework
,
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
...
...
src/misc/darwin_specific.c
View file @
196bce31
...
...
@@ -76,13 +76,13 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
for
(
i
=
0
;
i
<
_dyld_image_count
();
i
++
)
{
char
*
psz_img_name
=
_dyld_get_image_name
(
i
);
/* Check for "VLC.framework/Versions/Current/VLC",
* as well as "VLC.framework/Versions/A/VLC" and
/* Check for "VLC
Kit
.framework/Versions/Current/VLC",
* as well as "VLC
Kit
.framework/Versions/A/VLC" and
* "VLC.framework/Versions/B/VLC" */
if
(
p_char
=
strstr
(
psz_img_name
,
"VLC.framework/Versions/"
))
if
(
p_char
=
strstr
(
psz_img_name
,
"VLC
Kit
.framework/Versions/"
))
{
/* Look for the next forward slash */
p_char
+=
2
3
;
/* p_char += strlen(" VLC
.framework/Versions/" ) */
p_char
+=
2
6
;
/* p_char += strlen(" VLCKit
.framework/Versions/" ) */
while
(
*
p_char
!=
'\0'
&&
*
p_char
!=
'/'
)
p_char
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment