git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00cd427
)
libvlc_playlist_get_media_instance(): raise an exception when there is no input,...
author
Rafaël Carré
<funman@videolan.org>
Sun, 30 Sep 2007 22:55:35 +0000
(22:55 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Sun, 30 Sep 2007 22:55:35 +0000
(22:55 +0000)
src/control/playlist.c
patch
|
blob
|
history
diff --git
a/src/control/playlist.c
b/src/control/playlist.c
index
4d453af
..
d90df67
100644
(file)
--- a/
src/control/playlist.c
+++ b/
src/control/playlist.c
@@
-225,9
+225,11
@@
libvlc_media_instance_t * libvlc_playlist_get_media_instance(
p_instance, PL->p_input, p_e );
}
else
+ {
/* no active input */
p_mi = NULL;
-
+ libvlc_exception_raise( p_e, "No active input" );
+ }
vlc_mutex_unlock( &PL->object_lock );
return p_mi;