Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d583a648
Commit
d583a648
authored
Sep 30, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_playlist_get_media_instance(): raise an exception when there is no input, fix #1265
parent
00cd4276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/control/playlist.c
src/control/playlist.c
+3
-1
No files found.
src/control/playlist.c
View file @
d583a648
...
@@ -225,9 +225,11 @@ libvlc_media_instance_t * libvlc_playlist_get_media_instance(
...
@@ -225,9 +225,11 @@ libvlc_media_instance_t * libvlc_playlist_get_media_instance(
p_instance
,
PL
->
p_input
,
p_e
);
p_instance
,
PL
->
p_input
,
p_e
);
}
}
else
else
{
/* no active input */
/* no active input */
p_mi
=
NULL
;
p_mi
=
NULL
;
libvlc_exception_raise
(
p_e
,
"No active input"
);
}
vlc_mutex_unlock
(
&
PL
->
object_lock
);
vlc_mutex_unlock
(
&
PL
->
object_lock
);
return
p_mi
;
return
p_mi
;
...
...
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