Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0fde9b2d
Commit
0fde9b2d
authored
Jan 19, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: added a i_id field in es_format_t.
parent
fee32b8e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
include/vlc_es.h
include/vlc_es.h
+4
-1
src/input/es_out.c
src/input/es_out.c
+7
-3
src/input/input_dec.c
src/input/input_dec.c
+2
-1
No files found.
include/vlc_es.h
View file @
0fde9b2d
...
...
@@ -2,7 +2,7 @@
* vlc_es.h
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: vlc_es.h,v 1.
5 2003/11/24 02:35:50
fenrir Exp $
* $Id: vlc_es.h,v 1.
6 2004/01/19 18:15:29
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -107,6 +107,8 @@ struct es_format_t
int
i_cat
;
vlc_fourcc_t
i_codec
;
int
i_id
;
/* -1: let the core mark the right id
>=0: valid id */
int
i_group
;
/* -1 : standalone
>= 0 then a "group" (program) is created
for each value */
...
...
@@ -140,6 +142,7 @@ static inline void es_format_Init( es_format_t *fmt,
{
fmt
->
i_cat
=
i_cat
;
fmt
->
i_codec
=
i_codec
;
fmt
->
i_id
=
-
1
;
fmt
->
i_group
=
0
;
fmt
->
i_priority
=
0
;
fmt
->
psz_language
=
NULL
;
...
...
src/input/es_out.c
View file @
0fde9b2d
...
...
@@ -2,7 +2,7 @@
* es_out.c: Es Out handler for input.
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: es_out.c,v 1.1
8 2004/01/18 19:35:48
fenrir Exp $
* $Id: es_out.c,v 1.1
9 2004/01/19 18:15:29
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -274,13 +274,17 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
}
}
}
if
(
fmt
->
i_id
<
0
)
{
fmt
->
i_id
=
out
->
p_sys
->
i_id
-
1
;
}
es
->
p_es
=
input_AddES
(
p_input
,
p_prgm
,
out
->
p_sys
->
i_id
,
fmt
->
i_id
+
1
,
fmt
->
i_cat
,
fmt
->
psz_language
,
0
);
es
->
p_es
->
i_stream_id
=
out
->
p_sys
->
i_id
;
es
->
p_es
->
i_stream_id
=
fmt
->
i_id
;
es
->
p_es
->
i_fourcc
=
fmt
->
i_codec
;
switch
(
fmt
->
i_cat
)
...
...
src/input/input_dec.c
View file @
0fde9b2d
...
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* $Id: input_dec.c,v 1.8
6 2004/01/18 23:52:02 gbazin
Exp $
* $Id: input_dec.c,v 1.8
7 2004/01/19 18:15:29 fenrir
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -548,6 +548,7 @@ static int DecoderDecode( decoder_t *p_dec, block_t *p_block )
p_dec
->
p_owner
->
sout
.
i_group
=
p_dec
->
p_owner
->
p_es_descriptor
->
p_pgrm
->
i_number
;
}
p_dec
->
p_owner
->
sout
.
i_id
=
p_dec
->
p_owner
->
p_es_descriptor
->
i_id
-
1
;
p_dec
->
p_owner
->
p_sout
=
sout_InputNew
(
p_dec
,
&
p_dec
->
p_owner
->
sout
);
...
...
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