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
b4951bce
Commit
b4951bce
authored
Sep 25, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed forcing a demux while using access_demux for rtp.
Patch provided by Marian Durkovic.
parent
723e71ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
modules/demux/rtp.c
modules/demux/rtp.c
+1
-4
src/input/input.c
src/input/input.c
+3
-6
No files found.
modules/demux/rtp.c
View file @
b4951bce
...
@@ -609,10 +609,7 @@ static void mpv_decode (demux_t *demux, void *data, block_t *block)
...
@@ -609,10 +609,7 @@ static void mpv_decode (demux_t *demux, void *data, block_t *block)
*/
*/
static
void
*
ts_init
(
demux_t
*
demux
)
static
void
*
ts_init
(
demux_t
*
demux
)
{
{
char
*
ts_demux
=
var_CreateGetNonEmptyString
(
demux
,
"demux"
);
return
stream_init
(
demux
,
*
demux
->
psz_demux
?
demux
->
psz_demux
:
"ts"
);
void
*
stream
=
stream_init
(
demux
,
ts_demux
?
ts_demux
:
"ts"
);
free
(
ts_demux
);
return
stream
;
}
}
...
...
src/input/input.c
View file @
b4951bce
...
@@ -2200,12 +2200,9 @@ static int InputSourceInit( input_thread_t *p_input,
...
@@ -2200,12 +2200,9 @@ static int InputSourceInit( input_thread_t *p_input,
}
}
}
}
/* Try access_demux if no demux given */
/* Try access_demux first */
if
(
*
psz_demux
==
'\0'
)
in
->
p_demux
=
demux_New
(
p_input
,
psz_access
,
psz_demux
,
psz_path
,
{
NULL
,
p_input
->
p
->
p_es_out
,
false
);
in
->
p_demux
=
demux_New
(
p_input
,
psz_access
,
psz_demux
,
psz_path
,
NULL
,
p_input
->
p
->
p_es_out
,
false
);
}
}
}
else
else
{
{
...
...
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