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
e0405115
Commit
e0405115
authored
Mar 03, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS demux: remove outdated defines
parent
91d1635c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
38 deletions
+10
-38
modules/demux/ts.c
modules/demux/ts.c
+10
-38
No files found.
modules/demux/ts.c
View file @
e0405115
...
...
@@ -48,7 +48,6 @@
#include "../mux/mpeg/csa.h"
/* Include dvbpsi headers */
#ifdef HAVE_DVBPSI_DR_H
# include <dvbpsi/dvbpsi.h>
# include <dvbpsi/demux.h>
# include <dvbpsi/descriptor.h>
...
...
@@ -57,35 +56,14 @@
# include <dvbpsi/sdt.h>
# include <dvbpsi/dr.h>
# include <dvbpsi/psi.h>
#else
# include "dvbpsi.h"
# include "demux.h"
# include "descriptor.h"
# include "tables/pat.h"
# include "tables/pmt.h"
# include "tables/sdt.h"
# include "descriptors/dr.h"
# include "psi.h"
#endif
/* EIT support */
#ifdef _DVBPSI_DR_4D_H_
# define TS_USE_DVB_SI 1
# ifdef HAVE_DVBPSI_DR_H
# include <dvbpsi/eit.h>
# else
# include "tables/eit.h"
# endif
#endif
/* TDT support */
#ifdef _DVBPSI_DR_58_H_
# define TS_USE_TDT 1
# ifdef HAVE_DVBPSI_DR_H
# include <dvbpsi/tot.h>
# else
# include "tables/tot.h"
# endif
#else
# include <time.h>
#endif
...
...
@@ -406,10 +384,8 @@ static int PIDFillFormat( ts_pid_t *pid, int i_stream_type );
static
void
PATCallBack
(
demux_t
*
,
dvbpsi_pat_t
*
);
static
void
PMTCallBack
(
demux_t
*
p_demux
,
dvbpsi_pmt_t
*
p_pmt
);
#ifdef TS_USE_DVB_SI
static
void
PSINewTableCallBack
(
demux_t
*
,
dvbpsi_handle
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
#endif
static
int
ChangeKeyCallback
(
vlc_object_t
*
,
char
const
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
inline
int
PIDGet
(
block_t
*
p
)
...
...
@@ -676,7 +652,6 @@ static int Open( vlc_object_t *p_this )
PIDInit
(
pat
,
true
,
NULL
);
pat
->
psi
->
handle
=
dvbpsi_AttachPAT
(
(
dvbpsi_pat_callback
)
PATCallBack
,
p_demux
);
#ifdef TS_USE_DVB_SI
if
(
p_sys
->
b_dvb_meta
)
{
ts_pid_t
*
sdt
=
&
p_sys
->
pid
[
0x11
];
...
...
@@ -707,7 +682,6 @@ static int Open( vlc_object_t *p_this )
p_sys
->
b_access_control
=
false
;
}
}
#endif
/* Init PMT array */
TAB_INIT
(
p_sys
->
i_pmt
,
p_sys
->
pmt
);
...
...
@@ -2611,7 +2585,6 @@ static void ValidateDVBMeta( demux_t *p_demux, int i_pid )
}
#ifdef TS_USE_DVB_SI
/* FIXME same than dvbsi_to_utf8 from dvb access */
static
char
*
EITConvertToUTF8
(
const
unsigned
char
*
psz_instring
,
size_t
i_length
,
...
...
@@ -3129,7 +3102,6 @@ static void PSINewTableCallBack( demux_t *p_demux, dvbpsi_handle h,
#endif
}
#endif
/*****************************************************************************
* PMT callback and helpers
...
...
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