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
771b5e8c
Commit
771b5e8c
authored
Sep 18, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/mux/mpeg/ts.c: disabled some broken code.
parent
71a79544
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+7
-7
No files found.
modules/mux/mpeg/ts.c
View file @
771b5e8c
...
...
@@ -2120,8 +2120,7 @@ static uint32_t GetDescriptorLength24b( int i_length )
return
(
0x808000
|
(
i_l3
<<
16
)
|
(
i_l2
<<
8
)
|
i_l1
);
}
static
void
GetPMT
(
sout_mux_t
*
p_mux
,
sout_buffer_chain_t
*
c
)
static
void
GetPMT
(
sout_mux_t
*
p_mux
,
sout_buffer_chain_t
*
c
)
{
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
block_t
*
p_pmt
[
MAX_PMT
];
...
...
@@ -2325,8 +2324,8 @@ static void GetPMT( sout_mux_t *p_mux,
GetDescriptorLength24b
(
bits
.
i_data
-
bits_fix_IOD
.
i_data
-
3
)
);
#if
def HAVE_BSEARCH
i_pidinput
=
((
es_format_t
*
)(
p_mux
->
pp_inputs
[
i
]
->
p_fmt
))
->
i_id
;
#if
0//def HAVE_BSEARCH /* FIXME!!! This can't possibly work */
i_pidinput =
p_mux->pp_inputs[i]->p_fmt
->i_id;
p_usepid = bsearch( &i_pidinput, p_sys->pmtmap, p_sys->i_pmtslots,
sizeof(pmt_map_t), intcompare );
p_usepid = bsearch( &p_usepid, p_sys->pmtmap, p_sys->i_num_pmt,
...
...
@@ -2347,12 +2346,13 @@ static void GetPMT( sout_mux_t *p_mux,
{
ts_stream_t
*
p_stream
;
p_stream
=
(
ts_stream_t
*
)
p_mux
->
pp_inputs
[
i_stream
]
->
p_sys
;
i_pidinput
=
((
es_format_t
*
)(
p_mux
->
pp_inputs
[
i_stream
]
->
p_fmt
))
->
i_id
;
p_stream
=
(
ts_stream_t
*
)
p_mux
->
pp_inputs
[
i_stream
]
->
p_sys
;
#ifdef HAVE_BSEARCH
i_pidinput
=
p_mux
->
pp_inputs
[
i_stream
]
->
p_fmt
->
i_id
;
p_usepid
=
bsearch
(
&
i_pidinput
,
p_sys
->
pmtmap
,
p_sys
->
i_pmtslots
,
sizeof
(
pmt_map_t
),
intcompare
);
#ifdef HAVE_BSEARCH
if
(
p_usepid
!=
NULL
)
p_es
=
dvbpsi_PMTAddES
(
&
p_sys
->
dvbpmt
[((
pmt_map_t
*
)
p_usepid
)
->
i_prog
],
...
...
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