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
788cf6f0
Commit
788cf6f0
authored
Aug 10, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove panscan information in av_frame_copy_props() if resolution changes.
Fixes ticket #3750.
parent
3539d6c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
frame.c
libavutil/frame.c
+5
-1
No files found.
libavutil/frame.c
View file @
788cf6f0
...
...
@@ -492,7 +492,11 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
for
(
i
=
0
;
i
<
src
->
nb_side_data
;
i
++
)
{
const
AVFrameSideData
*
sd_src
=
src
->
side_data
[
i
];
AVFrameSideData
*
sd_dst
=
av_frame_new_side_data
(
dst
,
sd_src
->
type
,
AVFrameSideData
*
sd_dst
;
if
(
sd_src
->
type
==
AV_FRAME_DATA_PANSCAN
&&
(
src
->
width
!=
dst
->
width
||
src
->
height
!=
dst
->
height
))
continue
;
sd_dst
=
av_frame_new_side_data
(
dst
,
sd_src
->
type
,
sd_src
->
size
);
if
(
!
sd_dst
)
{
for
(
i
=
0
;
i
<
dst
->
nb_side_data
;
i
++
)
{
...
...
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