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
1e8b9738
Commit
1e8b9738
authored
Mar 22, 2013
by
Hendrik Leppkes
Committed by
Anton Khirnov
Mar 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/frame: add all remaining frame properties to av_frame_copy_props
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
2e2ec667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
frame.c
libavutil/frame.c
+4
-0
No files found.
libavutil/frame.c
View file @
1e8b9738
...
...
@@ -367,8 +367,10 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
dst
->
pict_type
=
src
->
pict_type
;
dst
->
sample_aspect_ratio
=
src
->
sample_aspect_ratio
;
dst
->
pts
=
src
->
pts
;
dst
->
repeat_pict
=
src
->
repeat_pict
;
dst
->
interlaced_frame
=
src
->
interlaced_frame
;
dst
->
top_field_first
=
src
->
top_field_first
;
dst
->
palette_has_changed
=
src
->
palette_has_changed
;
dst
->
sample_rate
=
src
->
sample_rate
;
dst
->
opaque
=
src
->
opaque
;
dst
->
pkt_pts
=
src
->
pkt_pts
;
...
...
@@ -378,6 +380,8 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
dst
->
coded_picture_number
=
src
->
coded_picture_number
;
dst
->
display_picture_number
=
src
->
display_picture_number
;
memcpy
(
dst
->
error
,
src
->
error
,
sizeof
(
dst
->
error
));
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
,
...
...
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