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
73921f62
Commit
73921f62
authored
May 10, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Readability change
parent
a16c5cd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
src/control/vlm.c
src/control/vlm.c
+17
-10
No files found.
src/control/vlm.c
View file @
73921f62
...
...
@@ -128,8 +128,9 @@ void libvlc_vlm_set_output( libvlc_instance_t *p_instance, char *psz_name,
i_ret
=
vlm_MediaSetup
(
p_instance
->
p_vlm
,
p_media
,
"output"
,
psz_output
);
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to set output"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
libvlc_exception_raise
(
p_exception
,
"Unable to set output"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
#endif
...
...
@@ -148,14 +149,16 @@ void libvlc_vlm_set_input( libvlc_instance_t *p_instance, char *psz_name,
i_ret
=
vlm_MediaSetup
(
p_instance
->
p_vlm
,
p_media
,
"inputdel"
,
"all"
);
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
i_ret
=
vlm_MediaSetup
(
p_instance
->
p_vlm
,
p_media
,
"input"
,
psz_input
);
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
#endif
...
...
@@ -174,8 +177,9 @@ void libvlc_vlm_add_input( libvlc_instance_t *p_instance, char *psz_name,
i_ret
=
vlm_MediaSetup
(
p_instance
->
p_vlm
,
p_media
,
"input"
,
psz_input
);
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
...
...
@@ -211,19 +215,22 @@ void libvlc_vlm_change_media( libvlc_instance_t *p_instance, char *psz_name,
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to set output"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
i_ret
=
vlm_MediaSetup
(
p_instance
->
p_vlm
,
p_media
,
"inputdel"
,
"all"
);
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
i_ret
=
vlm_MediaSetup
(
p_instance
->
p_vlm
,
p_media
,
"input"
,
psz_input
);
if
(
i_ret
)
{
libvlc_exception_raise
(
p_exception
,
"Unable to change input"
);
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
return
;
}
vlc_mutex_unlock
(
&
p_instance
->
p_vlm
->
lock
);
...
...
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