Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
be1eb4bb
Commit
be1eb4bb
authored
Dec 22, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Using i_id instead of i_stream_id whenever possible ;
* Fixed a bug in -c and -s options.
parent
10dda32d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
include/input_ext-dec.h
include/input_ext-dec.h
+2
-2
src/input/input_programs.c
src/input/input_programs.c
+2
-2
src/input/mpeg_system.c
src/input/mpeg_system.c
+4
-4
No files found.
include/input_ext-dec.h
View file @
be1eb4bb
...
...
@@ -2,7 +2,7 @@
* input_ext-dec.h: structures exported to the VideoLAN decoders
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_ext-dec.h,v 1.
4 2000/12/21 19:24:26
massiot Exp $
* $Id: input_ext-dec.h,v 1.
5 2000/12/22 17:53:30
massiot Exp $
*
* Authors:
*
...
...
@@ -441,7 +441,7 @@ static __inline__ void GetChunk( bit_stream_t * p_bit_stream,
*****************************************************************************/
typedef
struct
decoder_config_s
{
u16
i_
stream_
id
;
u16
i_id
;
u8
i_type
;
/* type of the elementary stream */
struct
stream_ctrl_s
*
p_stream_ctrl
;
...
...
src/input/input_programs.c
View file @
be1eb4bb
...
...
@@ -3,7 +3,7 @@
* FIXME : check the return value of realloc() and malloc() !
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_programs.c,v 1.1
6 2000/12/22 15:34:24
massiot Exp $
* $Id: input_programs.c,v 1.1
7 2000/12/22 17:53:30
massiot Exp $
*
* Authors:
*
...
...
@@ -390,7 +390,7 @@ void input_DumpStream( input_thread_t * p_input )
static
int
InitDecConfig
(
input_thread_t
*
p_input
,
es_descriptor_t
*
p_es
,
decoder_config_t
*
p_config
)
{
p_config
->
i_
stream_id
=
p_es
->
i_stream
_id
;
p_config
->
i_
id
=
p_es
->
i
_id
;
p_config
->
i_type
=
p_es
->
i_type
;
p_config
->
p_stream_ctrl
=
&
p_input
->
stream
.
control
;
...
...
src/input/mpeg_system.c
View file @
be1eb4bb
...
...
@@ -2,7 +2,7 @@
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: mpeg_system.c,v 1.1
7 2000/12/22 15:00:42 sam
Exp $
* $Id: mpeg_system.c,v 1.1
8 2000/12/22 17:53:30 massiot
Exp $
*
* Authors:
*
...
...
@@ -753,7 +753,7 @@ es_descriptor_t * input_ParsePS( input_thread_t * p_input,
if
(
main_GetIntVariable
(
INPUT_DVD_AUDIO_VAR
,
0
)
==
REQUESTED_MPEG
&&
main_GetIntVariable
(
INPUT_DVD_CHANNEL_VAR
,
0
)
==
(
p_es
->
i_
stream_
id
&
0x1F
)
)
==
(
p_es
->
i_id
&
0x1F
)
)
{
input_SelectES
(
p_input
,
p_es
);
}
...
...
@@ -767,7 +767,7 @@ es_descriptor_t * input_ParsePS( input_thread_t * p_input,
if
(
main_GetIntVariable
(
INPUT_DVD_AUDIO_VAR
,
0
)
==
REQUESTED_AC3
&&
main_GetIntVariable
(
INPUT_DVD_CHANNEL_VAR
,
0
)
==
((
p_es
->
i_
stream_
id
&
0xF00
)
>>
8
)
)
==
((
p_es
->
i_id
&
0xF00
)
>>
8
)
)
{
input_SelectES
(
p_input
,
p_es
);
}
...
...
@@ -779,7 +779,7 @@ es_descriptor_t * input_ParsePS( input_thread_t * p_input,
p_es
->
i_type
=
DVD_SPU_ES
;
#ifdef AUTO_SPAWN
if
(
main_GetIntVariable
(
INPUT_DVD_SUBTITLE_VAR
,
0
)
==
((
p_es
->
i_
stream_
id
&
0x1F00
)
>>
8
)
)
==
((
p_es
->
i_id
&
0x1F00
)
>>
8
)
)
{
input_SelectES
(
p_input
,
p_es
);
}
...
...
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