Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
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
dvblast
Commits
f1863e29
Commit
f1863e29
authored
Nov 16, 2009
by
Marian Ďurkovič
Committed by
Christophe Massiot
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* demux.c: Use PAT_PID where applicable
parent
3ce402e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
AUTHORS
AUTHORS
+2
-1
demux.c
demux.c
+4
-3
No files found.
AUTHORS
View file @
f1863e29
...
...
@@ -8,7 +8,8 @@
# PGP key ID and fingerprint (P), description (D), and snail-mail address (S).
N: Marian Ďurkovič
E: md AT bts DOT SK
E: md AT bts DOT sk
C: md
D: numerous bug fixes
N: Andy Gatward
...
...
demux.c
View file @
f1863e29
...
...
@@ -44,6 +44,7 @@
* Local declarations
*****************************************************************************/
#define PAT_PID 0x00
#define SDT_PID 0x11
#define EIT_PID 0x12
#define TDT_PID 0x14
...
...
@@ -127,7 +128,7 @@ void demux_Open( void )
if
(
b_budget_mode
)
i_demux_fd
=
dvb_SetFilter
(
8192
);
SetPID
(
0
);
/* PAT */
SetPID
(
PAT_PID
);
/* PAT */
p_pat_dvbpsi_handle
=
dvbpsi_AttachPAT
(
PATCallback
,
NULL
);
if
(
b_enable_epg
)
...
...
@@ -186,7 +187,7 @@ static void demux_Handle( block_t *p_ts )
if
(
p_pids
[
i_pid
].
i_refcount
)
{
if
(
i_pid
==
0
)
if
(
i_pid
==
PAT_PID
)
{
dvbpsi_PushPacket
(
p_pat_dvbpsi_handle
,
p_ts
->
p_ts
);
if
(
block_UnitStart
(
p_ts
)
)
...
...
@@ -697,7 +698,7 @@ static void SendPAT( void )
{
block_t
*
p_block
;
p_block
=
WritePSISection
(
pp_outputs
[
i
]
->
p_pat_section
,
0
,
p_block
=
WritePSISection
(
pp_outputs
[
i
]
->
p_pat_section
,
PAT_PID
,
&
pp_outputs
[
i
]
->
i_pat_cc
);
while
(
p_block
!=
NULL
)
{
...
...
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