[vlc-commits] input: fallback to spu probing on forced demux by extension (fix #18933)
Francois Cartegnie
git at videolan.org
Thu Oct 26 17:44:02 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 26 17:32:24 2017 +0200| [8e5eb26776b8982459f67011dddd0c577ebfaa50] | committer: Francois Cartegnie
input: fallback to spu probing on forced demux by extension (fix #18933)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e5eb26776b8982459f67011dddd0c577ebfaa50
---
src/input/input.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/input/input.c b/src/input/input.c
index 6260280e99..f79d2d6a5e 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -3295,6 +3295,10 @@ static int input_SlaveSourceAdd( input_thread_t *p_input,
input_source_t *p_source = InputSourceNew( p_input, psz_uri,
psz_forced_demux, b_can_fail );
+
+ if( i_type == SLAVE_TYPE_SPU && p_source == NULL )
+ p_source = InputSourceNew( p_input, psz_uri, NULL, b_can_fail );
+
if( p_source == NULL )
{
msg_Warn( p_input, "failed to add %s as slave", psz_uri );
More information about the vlc-commits
mailing list