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
7f3c9cf9
Commit
7f3c9cf9
authored
Feb 10, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS Mux: factorize
parent
496fab1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+4
-7
No files found.
modules/mux/mpeg/ts.c
View file @
7f3c9cf9
...
...
@@ -2276,13 +2276,10 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
pmt_map_t
*
p_usepid
=
bsearch
(
&
i_pidinput
,
p_sys
->
pmtmap
,
p_sys
->
i_pmtslots
,
sizeof
(
pmt_map_t
),
intcompare
);
dvbpsi_pmt_es_t
*
p_es
;
if
(
p_usepid
!=
NULL
)
p_es
=
dvbpsi_PMTAddES
(
&
p_sys
->
dvbpmt
[
p_usepid
->
i_prog
],
p_stream
->
i_stream_type
,
p_stream
->
i_pid
);
else
/* If there's an error somewhere, dump it to the first pmt */
p_es
=
dvbpsi_PMTAddES
(
&
p_sys
->
dvbpmt
[
0
],
unsigned
prog
=
p_usepid
?
p_usepid
->
i_prog
:
0
;
dvbpsi_pmt_es_t
*
p_es
=
dvbpsi_PMTAddES
(
&
p_sys
->
dvbpmt
[
prog
],
p_stream
->
i_stream_type
,
p_stream
->
i_pid
);
if
(
p_stream
->
i_stream_id
==
0xfa
||
p_stream
->
i_stream_id
==
0xfb
)
...
...
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