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
f6d54258
Commit
f6d54258
authored
Feb 11, 2016
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ts: add fixed entry for base_si pid
parent
17d0021c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
modules/demux/mpeg/ts_pid.c
modules/demux/mpeg/ts_pid.c
+3
-0
modules/demux/mpeg/ts_pid.h
modules/demux/mpeg/ts_pid.h
+1
-0
No files found.
modules/demux/mpeg/ts_pid.c
View file @
f6d54258
...
@@ -36,6 +36,7 @@ void ts_pid_list_Init( ts_pid_list_t *p_list )
...
@@ -36,6 +36,7 @@ void ts_pid_list_Init( ts_pid_list_t *p_list )
{
{
p_list
->
dummy
.
i_pid
=
8191
;
p_list
->
dummy
.
i_pid
=
8191
;
p_list
->
dummy
.
i_flags
=
FLAG_SEEN
;
p_list
->
dummy
.
i_flags
=
FLAG_SEEN
;
p_list
->
base_si
.
i_pid
=
0x1FFB
;
p_list
->
pp_all
=
NULL
;
p_list
->
pp_all
=
NULL
;
p_list
->
i_all
=
0
;
p_list
->
i_all
=
0
;
p_list
->
i_all_alloc
=
0
;
p_list
->
i_all_alloc
=
0
;
...
@@ -63,6 +64,8 @@ ts_pid_t * ts_pid_Get( ts_pid_list_t *p_list, uint16_t i_pid )
...
@@ -63,6 +64,8 @@ ts_pid_t * ts_pid_Get( ts_pid_list_t *p_list, uint16_t i_pid )
{
{
case
0
:
case
0
:
return
&
p_list
->
pat
;
return
&
p_list
->
pat
;
case
0x1FFB
:
return
&
p_list
->
base_si
;
case
0x1FFF
:
case
0x1FFF
:
return
&
p_list
->
dummy
;
return
&
p_list
->
dummy
;
default:
default:
...
...
modules/demux/mpeg/ts_pid.h
View file @
f6d54258
...
@@ -82,6 +82,7 @@ typedef struct ts_pid_list_t
...
@@ -82,6 +82,7 @@ typedef struct ts_pid_list_t
{
{
ts_pid_t
pat
;
ts_pid_t
pat
;
ts_pid_t
dummy
;
ts_pid_t
dummy
;
ts_pid_t
base_si
;
/* all non commons ones, dynamically allocated */
/* all non commons ones, dynamically allocated */
ts_pid_t
**
pp_all
;
ts_pid_t
**
pp_all
;
int
i_all
;
int
i_all
;
...
...
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