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
951a03b3
Commit
951a03b3
authored
Jan 01, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: move stream_copy flags handling after attachments.
parent
10a92775
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
ffmpeg_opt.c
ffmpeg_opt.c
+11
-12
No files found.
ffmpeg_opt.c
View file @
951a03b3
...
...
@@ -1615,18 +1615,6 @@ loop_end:
}
}
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
(
o
->
g
->
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
(
1
);
}
/* handle attached files */
for
(
i
=
0
;
i
<
o
->
nb_attachments
;
i
++
)
{
AVIOContext
*
pb
;
...
...
@@ -1663,6 +1651,17 @@ loop_end:
avio_close
(
pb
);
}
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
(
o
->
g
->
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
(
1
);
}
GROW_ARRAY
(
output_files
,
nb_output_files
);
if
(
!
(
output_files
[
nb_output_files
-
1
]
=
av_mallocz
(
sizeof
(
*
output_files
[
0
]))))
exit
(
1
);
...
...
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