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
2a227b41
Commit
2a227b41
authored
May 15, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_run_interface: start and wait for an interface
parent
debfaaa1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
include/vlc/libvlc.h
include/vlc/libvlc.h
+12
-0
src/control/core.c
src/control/core.c
+7
-0
No files found.
include/vlc/libvlc.h
View file @
2a227b41
...
...
@@ -145,6 +145,18 @@ VLC_PUBLIC_API void libvlc_release( libvlc_instance_t * );
*/
VLC_PUBLIC_API
void
libvlc_retain
(
libvlc_instance_t
*
);
/**
* Try to start a user interface for the libvlc instance, and wait until the
* user exits.
*
* \param p_instance the instance
* \param name interface name, or NULL for default
* \param p_exception an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_run_interface
(
libvlc_instance_t
*
p_instance
,
const
char
*
name
,
libvlc_exception_t
*
p_exception
);
/**
* Retrieve libvlc version.
*
...
...
src/control/core.c
View file @
2a227b41
...
...
@@ -170,6 +170,13 @@ void libvlc_release( libvlc_instance_t *p_instance )
}
}
void
libvlc_run_interface
(
libvlc_instance_t
*
p_i
,
const
char
*
name
,
libvlc_exception_t
*
p_e
)
{
if
(
libvlc_InternalAddIntf
(
p_i
->
p_libvlc_int
,
name
,
true
,
true
,
0
,
NULL
)
)
RAISEVOID
(
"Interface initialization failed"
);
}
int
libvlc_get_vlc_id
(
libvlc_instance_t
*
p_instance
)
{
return
p_instance
->
p_libvlc_int
->
i_object_id
;
...
...
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