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
3f99651d
Commit
3f99651d
authored
Sep 15, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hopefully fix OS X
parent
f0531d5b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
src/interface/interface.c
src/interface/interface.c
+6
-6
src/libvlc.c
src/libvlc.c
+4
-4
src/libvlc.h
src/libvlc.h
+2
-1
No files found.
src/interface/interface.c
View file @
3f99651d
...
@@ -66,10 +66,10 @@ static int AddIntfCallback( vlc_object_t *, char const *,
...
@@ -66,10 +66,10 @@ static int AddIntfCallback( vlc_object_t *, char const *,
*****************************************************************************/
*****************************************************************************/
@
interface
VLCApplication
:
NSApplication
@
interface
VLCApplication
:
NSApplication
{
{
vlc_t
*
o_
vlc
;
libvlc_int_t
*
o_lib
vlc
;
}
}
-
(
void
)
setVLC
:
(
vlc_t
*
)
p_
vlc
;
-
(
void
)
setVLC
:
(
libvlc_int_t
*
)
p_lib
vlc
;
@
end
@
end
#endif
#endif
...
@@ -463,13 +463,13 @@ static int AddIntfCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -463,13 +463,13 @@ static int AddIntfCallback( vlc_object_t *p_this, char const *psz_cmd,
#ifdef __APPLE__
#ifdef __APPLE__
/*****************************************************************************
/*****************************************************************************
* VLCApplication implementation
* VLCApplication implementation
*****************************************************************************/
*****************************************************************************/
@
implementation
VLCApplication
@
implementation
VLCApplication
-
(
void
)
setVLC
:
(
vlc_t
*
)
p_
vlc
-
(
void
)
setVLC
:
(
libvlc_int_t
*
)
p_lib
vlc
{
{
o_vlc
=
p_vlc
;
o_vlc
=
p_
lib
vlc
;
}
}
-
(
void
)
stop
:
(
id
)
sender
-
(
void
)
stop
:
(
id
)
sender
...
...
src/libvlc.c
View file @
3f99651d
...
@@ -90,9 +90,9 @@ char const * VLC_Error( int i_err )
...
@@ -90,9 +90,9 @@ char const * VLC_Error( int i_err )
}
}
/*****************************************************************************
/*****************************************************************************
* VLC_Create: allocate a
vlc_t structure, and initialize libvlc if needed.
* VLC_Create: allocate a
libvlc instance and intialize global libvlc stuff if needed
*****************************************************************************
*****************************************************************************
* This function allocates a
vlc_t structur
e and returns a negative value
* This function allocates a
libvlc instanc
e and returns a negative value
* in case of failure. Also, the thread system is initialized.
* in case of failure. Also, the thread system is initialized.
*****************************************************************************/
*****************************************************************************/
int
VLC_Create
(
void
)
int
VLC_Create
(
void
)
...
@@ -110,9 +110,9 @@ int VLC_Create( void )
...
@@ -110,9 +110,9 @@ int VLC_Create( void )
/*****************************************************************************
/*****************************************************************************
* VLC_Init: initialize a
vlc_t structure.
* VLC_Init: initialize a
libvlc instance
*****************************************************************************
*****************************************************************************
* This function initializes a previously allocated
vlc_t structur
e:
* This function initializes a previously allocated
libvlc instanc
e:
* - CPU detection
* - CPU detection
* - gettext initialization
* - gettext initialization
* - message queue, module bank and playlist initialization
* - message queue, module bank and playlist initialization
...
...
src/libvlc.h
View file @
3f99651d
...
@@ -2133,7 +2133,8 @@ static module_config_t p_help_config[] =
...
@@ -2133,7 +2133,8 @@ static module_config_t p_help_config[] =
*****************************************************************************/
*****************************************************************************/
/*****************************************************************************
/*****************************************************************************
* Initializer for the vlc_t structure storing the action / key associations
* Initializer for the libvlc instance structure
* storing the action / key associations
*****************************************************************************/
*****************************************************************************/
static
struct
hotkey
p_hotkeys
[]
=
static
struct
hotkey
p_hotkeys
[]
=
{
{
...
...
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