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
19091cce
Commit
19091cce
authored
May 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_run_interface -> libvlc_add_intf (non-blocking)
parent
da316c39
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
include/vlc/libvlc.h
include/vlc/libvlc.h
+2
-2
src/control/core.c
src/control/core.c
+3
-3
src/libvlc.sym
src/libvlc.sym
+1
-1
src/vlc.c
src/vlc.c
+2
-1
src/winvlc.c
src/winvlc.c
+2
-1
No files found.
include/vlc/libvlc.h
View file @
19091cce
...
...
@@ -154,7 +154,7 @@ VLC_PUBLIC_API void libvlc_retain( libvlc_instance_t * );
* \param p_exception an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_
run_interface
(
libvlc_instance_t
*
p_instance
,
const
char
*
name
,
void
libvlc_
add_intf
(
libvlc_instance_t
*
p_instance
,
const
char
*
name
,
libvlc_exception_t
*
p_exception
);
/**
...
...
src/control/core.c
View file @
19091cce
...
...
@@ -166,10 +166,10 @@ void libvlc_release( libvlc_instance_t *p_instance )
}
}
void
libvlc_
run_interface
(
libvlc_instance_t
*
p_i
,
const
char
*
name
,
void
libvlc_
add_intf
(
libvlc_instance_t
*
p_i
,
const
char
*
name
,
libvlc_exception_t
*
p_e
)
{
if
(
libvlc_InternalAddIntf
(
p_i
->
p_libvlc_int
,
name
,
tru
e
,
true
,
0
,
NULL
)
)
if
(
libvlc_InternalAddIntf
(
p_i
->
p_libvlc_int
,
name
,
fals
e
,
true
,
0
,
NULL
)
)
RAISEVOID
(
"Interface initialization failed"
);
}
...
...
src/libvlc.sym
View file @
19091cce
libvlc_add_intf
libvlc_audio_get_channel
libvlc_audio_get_mute
libvlc_audio_get_track
...
...
@@ -157,7 +158,6 @@ libvlc_playlist_stop
libvlc_playlist_unlock
libvlc_release
libvlc_retain
libvlc_run_interface
libvlc_set_fullscreen
libvlc_set_log_verbosity
libvlc_toggle_fullscreen
...
...
src/vlc.c
View file @
19091cce
...
...
@@ -134,7 +134,8 @@ int main( int i_argc, const char *ppsz_argv[] )
if
(
vlc
!=
NULL
)
{
libvlc_run_interface
(
vlc
,
NULL
,
&
ex
);
libvlc_add_intf
(
vlc
,
NULL
,
&
ex
);
libvlc_wait
(
vlc
);
libvlc_release
(
vlc
);
}
i_ret
=
libvlc_exception_raised
(
&
ex
);
...
...
src/winvlc.c
View file @
19091cce
...
...
@@ -197,7 +197,8 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
libvlc_instance_t
*
vlc
=
libvlc_new
(
argc
,
(
const
char
**
)
argv
,
&
ex
);
if
(
vlc
!=
NULL
)
{
libvlc_run_interface
(
vlc
,
NULL
,
&
ex
);
libvlc_add_intf
(
vlc
,
NULL
,
&
ex
);
libvlc_wait
(
vlc
);
libvlc_release
(
vlc
);
}
...
...
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