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
b47bafe6
Commit
b47bafe6
authored
Jan 26, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix autodetection bug with
file:///
parent
060650d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/input/input.c
src/input/input.c
+3
-2
No files found.
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:07:16 fenrir
Exp $
* $Id: input.c,v 1.28
3 2004/01/26 23:37: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
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