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
GSoC
GSoC2018
macOS
vlc
Commits
c89bab7c
Commit
c89bab7c
authored
Jan 18, 2004
by
Laurent Aimar
Browse files
* es_out: give a fourcc to the dummy pmt es_descriptor_t.
parent
4a3faf87
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/es_out.c
View file @
c89bab7c
...
...
@@ -2,7 +2,7 @@
* es_out.c: Es Out handler for input.
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: es_out.c,v 1.1
7
2004/01/18
04:53:57
fenrir Exp $
* $Id: es_out.c,v 1.1
8
2004/01/18
19:35:48
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -256,6 +256,7 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
if
(
p_prgm
==
NULL
)
{
es_descriptor_t
*
p_pmt
;
/* create it */
p_prgm
=
input_AddProgram
(
p_input
,
fmt
->
i_group
,
0
);
...
...
@@ -263,7 +264,8 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
* why have a look at input_SetProgram. Basicaly, it assume the first
* es to be the PMT, how that is stupide, nevertheless it is needed for
* the old ts demuxer */
input_AddES
(
p_input
,
p_prgm
,
0
,
UNKNOWN_ES
,
NULL
,
0
);
p_pmt
=
input_AddES
(
p_input
,
p_prgm
,
0
,
UNKNOWN_ES
,
NULL
,
0
);
p_pmt
->
i_fourcc
=
VLC_FOURCC
(
'n'
,
'u'
,
'l'
,
'l'
);
/* Select the first by default */
if
(
p_input
->
stream
.
p_selected_program
==
NULL
)
...
...
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