Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4495c7ee
Commit
4495c7ee
authored
Apr 28, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts demux: don't lose PID specific data on PMT callback
Close #8480
parent
cdcd6ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/demux/ts.c
modules/demux/ts.c
+7
-4
No files found.
modules/demux/ts.c
View file @
4495c7ee
...
...
@@ -3929,12 +3929,15 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
!
strcmp
(
pid
->
es
->
fmt
.
psz_language
,
old_pid
->
es
->
fmt
.
psz_language
)
)
)
)
{
pid
->
es
->
id
=
old_pid
->
es
->
id
;
old_pid
->
es
->
id
=
NULL
;
pid
->
i_cc
=
old_pid
->
i_cc
;
ts_es_t
*
e
=
pid
->
es
;
pid
->
es
=
old_pid
->
es
;
old_pid
->
es
=
e
;
for
(
int
i
=
0
;
i
<
pid
->
i_extra_es
;
i
++
)
{
pid
->
extra_es
[
i
]
->
id
=
old_pid
->
extra_es
[
i
]
->
id
;
old_pid
->
extra_es
[
i
]
->
id
=
NULL
;
e
=
pid
->
extra_es
[
i
];
pid
->
extra_es
[
i
]
=
old_pid
->
extra_es
[
i
];
old_pid
->
extra_es
[
i
]
=
e
;
}
}
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