Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bc3f40f7
Commit
bc3f40f7
authored
May 12, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing path->URI conversion for subtitles
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
b522668d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/input/input.c
src/input/input.c
+6
-1
No files found.
src/input/input.c
View file @
bc3f40f7
...
@@ -3157,14 +3157,19 @@ static void SubtitleAdd( input_thread_t *p_input, char *psz_subtitle, bool b_for
...
@@ -3157,14 +3157,19 @@ static void SubtitleAdd( input_thread_t *p_input, char *psz_subtitle, bool b_for
free
(
psz_path
);
free
(
psz_path
);
}
}
char
*
url
=
make_URI
(
psz_subtitle
);
var_Change
(
p_input
,
"spu-es"
,
VLC_VAR_CHOICESCOUNT
,
&
count
,
NULL
);
var_Change
(
p_input
,
"spu-es"
,
VLC_VAR_CHOICESCOUNT
,
&
count
,
NULL
);
sub
=
InputSourceNew
(
p_input
);
sub
=
InputSourceNew
(
p_input
);
if
(
!
sub
||
InputSourceInit
(
p_input
,
sub
,
psz_subtitle
,
"subtitle"
)
)
if
(
!
sub
||
!
url
||
InputSourceInit
(
p_input
,
sub
,
url
,
"subtitle"
)
)
{
{
free
(
sub
);
free
(
sub
);
free
(
url
);
return
;
return
;
}
}
free
(
url
);
TAB_APPEND
(
p_input
->
p
->
i_slave
,
p_input
->
p
->
slave
,
sub
);
TAB_APPEND
(
p_input
->
p
->
i_slave
,
p_input
->
p
->
slave
,
sub
);
/* Select the ES */
/* Select the ES */
...
...
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