Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
22504396
Commit
22504396
authored
Feb 03, 2015
by
Matt Oliver
Committed by
Michael Niedermayer
Feb 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mpegtsenc: Fix build with msvc
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
63186ac5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
mpegtsenc.c
libavformat/mpegtsenc.c
+10
-10
No files found.
libavformat/mpegtsenc.c
View file @
22504396
...
...
@@ -57,6 +57,16 @@ typedef struct MpegTSService {
int
pcr_packet_period
;
}
MpegTSService
;
// service_type values as defined in ETSI 300 468
enum
{
MPEGTS_SERVICE_TYPE_DIGITAL_TV
=
0x01
,
MPEGTS_SERVICE_TYPE_DIGITAL_RADIO
=
0x02
,
MPEGTS_SERVICE_TYPE_TELETEXT
=
0x03
,
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_RADIO
=
0x0A
,
MPEGTS_SERVICE_TYPE_MPEG2_DIGITAL_HDTV
=
0x11
,
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_SDTV
=
0x16
,
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV
=
0x19
};
typedef
struct
MpegTSWrite
{
const
AVClass
*
av_class
;
MpegTSSection
pat
;
/* MPEG2 pat table */
...
...
@@ -77,16 +87,6 @@ typedef struct MpegTSWrite {
int
original_network_id
;
int
service_id
;
int
service_type
;
// service_type values as defined in ETSI 300 468
enum
{
MPEGTS_SERVICE_TYPE_DIGITAL_TV
=
0x01
,
MPEGTS_SERVICE_TYPE_DIGITAL_RADIO
=
0x02
,
MPEGTS_SERVICE_TYPE_TELETEXT
=
0x03
,
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_RADIO
=
0x0A
,
MPEGTS_SERVICE_TYPE_MPEG2_DIGITAL_HDTV
=
0x11
,
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_SDTV
=
0x16
,
MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV
=
0x19
};
int
pmt_start_pid
;
int
start_pid
;
...
...
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