Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b47bafe6
Commit
b47bafe6
authored
Jan 26, 2004
by
hartman
Browse files
* Fix autodetection bug with
file:///
parent
060650d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
b47bafe6
...
...
@@ -4,7 +4,7 @@
* decoders.
*****************************************************************************
* Copyright (C) 1998-2004 VideoLAN
* $Id: input.c,v 1.28
2
2004/01/26 23:
0
7:
16 fenrir
Exp $
* $Id: input.c,v 1.28
3
2004/01/26 23:
3
7:
05 hartman
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -808,6 +808,7 @@ static int InitThread( input_thread_t * p_input )
var_Get
(
p_input
,
"sub-file"
,
&
val
);
if
(
val
.
psz_string
&&
*
val
.
psz_string
)
{
msg_Dbg
(
p_input
,
"force subtitle: %s"
,
val
.
psz_string
);
subtitle_demux_t
*
p_sub
;
if
(
(
p_sub
=
subtitle_New
(
p_input
,
strdup
(
val
.
psz_string
),
i_microsecondperframe
)
)
)
...
...
@@ -823,7 +824,7 @@ static int InitThread( input_thread_t * p_input )
{
subtitle_demux_t
*
p_sub
;
int
i
;
char
**
tmp
=
subtitles_Detect
(
p_input
,
""
,
p_input
->
psz_
sourc
e
);
char
**
tmp
=
subtitles_Detect
(
p_input
,
""
,
p_input
->
psz_
nam
e
);
char
**
tmp2
=
tmp
;
for
(
i
=
0
;
*
tmp2
!=
NULL
;
i
++
)
{
...
...
Write
Preview
Supports
Markdown
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