Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5fee9b1b
Commit
5fee9b1b
authored
Nov 28, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/misc/dummy/input.c: use p_input->psz_demux = "vlc,none" to force the demux.
parent
50476b83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/misc/dummy/input.c
modules/misc/dummy/input.c
+8
-8
No files found.
modules/misc/dummy/input.c
View file @
5fee9b1b
...
...
@@ -2,7 +2,7 @@
* input_dummy.c: dummy input plugin, to manage "vlc:***" special options
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: input.c,v 1.
4 2003/09/07 22:53:09 fenrir
Exp $
* $Id: input.c,v 1.
5 2003/11/28 22:16:30 gbazin
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -63,7 +63,7 @@ int E_(OpenAccess) ( vlc_object_t *p_this )
p_input
->
stream
.
i_method
=
INPUT_METHOD_NONE
;
/* Force dummy demux plug-in */
p_input
->
psz_demux
=
"vlc"
;
p_input
->
psz_demux
=
"vlc
,none
"
;
return
VLC_SUCCESS
;
}
...
...
@@ -88,7 +88,7 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
if
(
p_method
==
NULL
)
{
msg_Err
(
p_input
,
"out of memory"
);
return
-
1
;
return
VLC_EGENERIC
;
}
p_input
->
p_demux_data
=
p_method
;
...
...
@@ -99,7 +99,7 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
{
msg_Info
(
p_input
,
"command `nop'"
);
p_method
->
i_command
=
COMMAND_NOP
;
return
0
;
return
VLC_SUCCESS
;
}
/* Check for a "vlc:quit" command */
...
...
@@ -107,7 +107,7 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
{
msg_Info
(
p_input
,
"command `quit'"
);
p_method
->
i_command
=
COMMAND_QUIT
;
return
0
;
return
VLC_SUCCESS
;
}
/* Check for a "vlc:loop" command */
...
...
@@ -115,7 +115,7 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
{
msg_Info
(
p_input
,
"command `loop'"
);
p_method
->
i_command
=
COMMAND_LOOP
;
return
0
;
return
VLC_SUCCESS
;
}
/* Check for a "vlc:pause:***" command */
...
...
@@ -125,14 +125,14 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
msg_Info
(
p_input
,
"command `pause %i'"
,
i_arg
);
p_method
->
i_command
=
COMMAND_PAUSE
;
p_method
->
expiration
=
mdate
()
+
(
mtime_t
)
i_arg
*
(
mtime_t
)
1000000
;
return
0
;
return
VLC_SUCCESS
;
}
msg_Err
(
p_input
,
"unknown command `%s'"
,
psz_name
);
free
(
p_input
->
p_demux_data
);
p_input
->
b_error
=
1
;
return
-
1
;
return
VLC_EGENERIC
;
}
/*****************************************************************************
...
...
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