Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
75bbaf24
Commit
75bbaf24
authored
Aug 25, 2014
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegenc: limit the maximum muxrate
It is written to the file as a 22-bit value. CC: libav-stable@libav.org
parent
e87f5e4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mpegenc.c
libavformat/mpegenc.c
+1
-1
No files found.
libavformat/mpegenc.c
View file @
75bbaf24
...
@@ -1162,7 +1162,7 @@ static int mpeg_mux_end(AVFormatContext *ctx)
...
@@ -1162,7 +1162,7 @@ static int mpeg_mux_end(AVFormatContext *ctx)
#define OFFSET(x) offsetof(MpegMuxContext, x)
#define OFFSET(x) offsetof(MpegMuxContext, x)
#define E AV_OPT_FLAG_ENCODING_PARAM
#define E AV_OPT_FLAG_ENCODING_PARAM
static
const
AVOption
options
[]
=
{
static
const
AVOption
options
[]
=
{
{
"muxrate"
,
NULL
,
OFFSET
(
mux_rate
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
INT_MAX
,
E
},
{
"muxrate"
,
NULL
,
OFFSET
(
mux_rate
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
(
1
<<
22
)
-
1
,
E
},
{
"preload"
,
"Initial demux-decode delay in microseconds."
,
OFFSET
(
preload
),
AV_OPT_TYPE_INT
,
{
.
i64
=
500000
},
0
,
INT_MAX
,
E
},
{
"preload"
,
"Initial demux-decode delay in microseconds."
,
OFFSET
(
preload
),
AV_OPT_TYPE_INT
,
{
.
i64
=
500000
},
0
,
INT_MAX
,
E
},
{
NULL
},
{
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