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
Steve Lhomme
VLC
Commits
f46ba5d4
Commit
f46ba5d4
authored
Oct 03, 2001
by
Christophe Massiot
Browse files
* Repaired dummy input broken yesterday.
parent
36ac7f92
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
f46ba5d4
...
...
@@ -4,7 +4,7 @@
* decoders.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input.c,v 1.13
8
2001/10/03 1
0:12:52
massiot Exp $
* $Id: input.c,v 1.13
9
2001/10/03 1
2:58:57
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -437,6 +437,11 @@ static int InitThread( input_thread_t * p_input )
p_input
->
p_input_module
->
p_functions
->
input
.
functions
.
input
.
pf_open
(
p_input
);
p_input
->
stream
.
i_method
=
INPUT_METHOD_DVD
;
}
else
if
(
(
strlen
(
p_input
->
p_source
)
>
4
)
&&
!
strncasecmp
(
p_input
->
p_source
,
"vlc:"
,
4
)
)
{
/* Dummy input - very kludgy */
p_input
->
p_input_module
->
p_functions
->
input
.
functions
.
input
.
pf_open
(
p_input
);
}
else
{
/* File input */
...
...
@@ -528,6 +533,10 @@ static void EndThread( input_thread_t * p_input )
{
p_input
->
p_input_module
->
p_functions
->
input
.
functions
.
input
.
pf_close
(
p_input
);
}
else
if
(
(
strlen
(
p_input
->
p_source
)
>
4
)
&&
!
strncasecmp
(
p_input
->
p_source
,
"vlc:"
,
4
)
)
{
p_input
->
p_input_module
->
p_functions
->
input
.
functions
.
input
.
pf_close
(
p_input
);
}
else
{
FileClose
(
p_input
);
...
...
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