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
e489e834
Commit
e489e834
authored
Sep 03, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mpegts: Change order of structs to match
7968059e
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ee83f667
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
mpegts.c
libavformat/mpegts.c
+19
-19
No files found.
libavformat/mpegts.c
View file @
e489e834
...
...
@@ -158,25 +158,6 @@ struct MpegTSContext {
#define MPEGTS_OPTIONS \
{ "resync_size", "Size limit for looking up a new syncronization.", offsetof(MpegTSContext, resync_size), AV_OPT_TYPE_INT, { .i64 = MAX_RESYNC_SIZE}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }
static
const
AVOption
raw_options
[]
=
{
MPEGTS_OPTIONS
,
{
"compute_pcr"
,
"Compute exact PCR for each transport stream packet."
,
offsetof
(
MpegTSContext
,
mpeg2ts_compute_pcr
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
AV_OPT_FLAG_DECODING_PARAM
},
{
"ts_packetsize"
,
"Output option carrying the raw packet size."
,
offsetof
(
MpegTSContext
,
raw_packet_size
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
0
,
AV_OPT_FLAG_DECODING_PARAM
|
AV_OPT_FLAG_EXPORT
|
AV_OPT_FLAG_READONLY
},
{
NULL
},
};
static
const
AVClass
mpegtsraw_class
=
{
.
class_name
=
"mpegtsraw demuxer"
,
.
item_name
=
av_default_item_name
,
.
option
=
raw_options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
static
const
AVOption
options
[]
=
{
MPEGTS_OPTIONS
,
{
"fix_teletext_pts"
,
"Try to fix pts values of dvb teletext streams."
,
offsetof
(
MpegTSContext
,
fix_teletext_pts
),
AV_OPT_TYPE_INT
,
...
...
@@ -197,6 +178,25 @@ static const AVClass mpegts_class = {
.
version
=
LIBAVUTIL_VERSION_INT
,
};
static
const
AVOption
raw_options
[]
=
{
MPEGTS_OPTIONS
,
{
"compute_pcr"
,
"Compute exact PCR for each transport stream packet."
,
offsetof
(
MpegTSContext
,
mpeg2ts_compute_pcr
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
1
,
AV_OPT_FLAG_DECODING_PARAM
},
{
"ts_packetsize"
,
"Output option carrying the raw packet size."
,
offsetof
(
MpegTSContext
,
raw_packet_size
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
0
,
AV_OPT_FLAG_DECODING_PARAM
|
AV_OPT_FLAG_EXPORT
|
AV_OPT_FLAG_READONLY
},
{
NULL
},
};
static
const
AVClass
mpegtsraw_class
=
{
.
class_name
=
"mpegtsraw demuxer"
,
.
item_name
=
av_default_item_name
,
.
option
=
raw_options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
/* TS stream handling */
enum
MpegTSState
{
...
...
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