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
3ce402e8
Commit
3ce402e8
authored
Nov 16, 2009
by
Marian Ďurkovič
Committed by
Christophe Massiot
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: Per-output SDT versioning
parent
428ce29c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
demux.c
demux.c
+3
-4
dvblast.h
dvblast.h
+1
-1
output.c
output.c
+1
-0
No files found.
demux.c
View file @
3ce402e8
...
...
@@ -848,6 +848,7 @@ static void NewSDT( output_t *p_output )
if
(
p_output
->
p_sdt_section
!=
NULL
)
dvbpsi_DeletePSISections
(
p_output
->
p_sdt_section
);
p_output
->
p_sdt_section
=
NULL
;
p_output
->
i_sdt_version
++
;
if
(
!
p_output
->
i_sid
)
return
;
if
(
p_current_sdt
==
NULL
)
return
;
...
...
@@ -871,13 +872,11 @@ static void NewSDT( output_t *p_output )
if
(
b_unique_tsid
)
dvbpsi_InitSDT
(
&
sdt
,
p_output
->
i_ts_id
,
p_current_sdt
->
i_version
,
p_current_sdt
->
b_current_next
,
p_output
->
i_sdt_version
,
1
,
p_current_sdt
->
i_network_id
);
else
dvbpsi_InitSDT
(
&
sdt
,
p_current_sdt
->
i_ts_id
,
p_current_sdt
->
i_version
,
p_current_sdt
->
b_current_next
,
p_output
->
i_sdt_version
,
1
,
p_current_sdt
->
i_network_id
);
p_new_service
=
dvbpsi_SDTAddService
(
&
sdt
,
...
...
dvblast.h
View file @
3ce402e8
...
...
@@ -65,7 +65,7 @@ typedef struct output_t
dvbpsi_psi_section_t
*
p_pmt_section
;
uint8_t
i_pmt_version
,
i_pmt_cc
;
dvbpsi_psi_section_t
*
p_sdt_section
;
uint8_t
i_sdt_cc
;
uint8_t
i_sdt_
version
,
i_sdt_
cc
;
uint8_t
i_eit_cc
;
uint16_t
i_ts_id
;
...
...
output.c
View file @
3ce402e8
...
...
@@ -91,6 +91,7 @@ int output_Init( output_t *p_output, in_addr_t i_maddr, uint16_t i_port )
p_output
->
i_eit_cc
=
rand
()
&
0xf
;
p_output
->
i_pat_version
=
rand
()
&
0xff
;
p_output
->
i_pmt_version
=
rand
()
&
0xff
;
p_output
->
i_sdt_version
=
rand
()
&
0xff
;
p_output
->
p_pat_section
=
NULL
;
p_output
->
p_pmt_section
=
NULL
;
p_output
->
p_sdt_section
=
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