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
a1acae04
Commit
a1acae04
authored
May 02, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg_opt: remove rotate metadata in case of autorotate
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f5b26fbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ffmpeg_opt.c
ffmpeg_opt.c
+4
-1
No files found.
ffmpeg_opt.c
View file @
a1acae04
...
...
@@ -2184,8 +2184,11 @@ loop_end:
continue
;
ist
=
input_streams
[
output_streams
[
i
]
->
source_index
];
av_dict_copy
(
&
output_streams
[
i
]
->
st
->
metadata
,
ist
->
st
->
metadata
,
AV_DICT_DONT_OVERWRITE
);
if
(
!
output_streams
[
i
]
->
stream_copy
)
if
(
!
output_streams
[
i
]
->
stream_copy
)
{
av_dict_set
(
&
output_streams
[
i
]
->
st
->
metadata
,
"encoder"
,
NULL
,
0
);
if
(
ist
->
autorotate
)
av_dict_set
(
&
output_streams
[
i
]
->
st
->
metadata
,
"rotate"
,
NULL
,
0
);
}
}
/* process manually set metadata */
...
...
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