diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-12-18 12:30:27 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-01-12 16:22:44 +0100 |
commit | 52627248e49e58eb4b78e4fcda90a64f4c476ea3 (patch) | |
tree | bc33212ab870c1c8419609fe909833bbead7a817 /libavutil/frame.c | |
parent | b68e353136db6f963212c457281d9716516cdc59 (diff) | |
download | ffmpeg-52627248e49e58eb4b78e4fcda90a64f4c476ea3.tar.gz |
frame: add a cropping rectangle to AVFrame
Extend the width/height doxy to clarify that it should store coded
values.
Diffstat (limited to 'libavutil/frame.c')
-rw-r--r-- | libavutil/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c index 1c14f5f03f..aafaa57d8b 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -390,6 +390,10 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src) dst->key_frame = src->key_frame; dst->pict_type = src->pict_type; dst->sample_aspect_ratio = src->sample_aspect_ratio; + dst->crop_top = src->crop_top; + dst->crop_bottom = src->crop_bottom; + dst->crop_left = src->crop_left; + dst->crop_right = src->crop_right; dst->pts = src->pts; dst->repeat_pict = src->repeat_pict; dst->interlaced_frame = src->interlaced_frame; |