Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a72e4821
Commit
a72e4821
authored
Nov 18, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics (use PES_EXTENDED_STREAM_ID)
parent
823eb622
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/mux/mpeg/pes.c
modules/mux/mpeg/pes.c
+2
-2
No files found.
modules/mux/mpeg/pes.c
View file @
a72e4821
...
...
@@ -135,7 +135,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
if
(
!
i_header_size
)
i_header_size
=
0x0
;
}
if
(
i_stream_id
==
0xfd
)
if
(
i_stream_id
==
PES_EXTENDED_STREAM_ID
)
{
b_pes_extension_flag
=
true
;
i_header_size
+=
1
+
1
;
...
...
@@ -206,7 +206,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
/* pack_header */
/* program_packet_sequence_counter */
/* P-STD_buffer_flag */
if
(
i_stream_id
==
0xfd
)
if
(
i_stream_id
==
PES_EXTENDED_STREAM_ID
)
{
/* PES_extension_2 */
bits_write
(
&
bits
,
1
,
0x01
);
// marker
...
...
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