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
f3bd226d
Commit
f3bd226d
authored
Feb 18, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: Fix setting flags for codec copy.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ad8173eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ffmpeg.c
ffmpeg.c
+12
-0
No files found.
ffmpeg.c
View file @
f3bd226d
...
...
@@ -4402,6 +4402,18 @@ static void opt_output_file(void *optctx, const char *filename)
}
}
for
(
i
=
nb_output_streams
-
oc
->
nb_streams
;
i
<
nb_output_streams
;
i
++
)
{
//for all streams of this output file
AVDictionaryEntry
*
e
;
ost
=
&
output_streams
[
i
];
if
(
ost
->
stream_copy
&&
(
e
=
av_dict_get
(
codec_opts
,
"flags"
,
NULL
,
AV_DICT_IGNORE_SUFFIX
))
&&
(
!
e
->
key
[
5
]
||
check_stream_specifier
(
oc
,
ost
->
st
,
e
->
key
+
6
)))
if
(
av_opt_set
(
ost
->
st
->
codec
,
"flags"
,
e
->
value
,
0
)
<
0
)
exit_program
(
1
);
}
/* handle attached files */
for
(
i
=
0
;
i
<
o
->
nb_attachments
;
i
++
)
{
AVIOContext
*
pb
;
...
...
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