frame: copy flags in av_frame_copy_props()
Flags can be considered metadata (at least those that are defined now).
This commit is contained in:
parent
a1ee164869
commit
c342132fa8
@ -379,6 +379,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
|
|||||||
dst->quality = src->quality;
|
dst->quality = src->quality;
|
||||||
dst->coded_picture_number = src->coded_picture_number;
|
dst->coded_picture_number = src->coded_picture_number;
|
||||||
dst->display_picture_number = src->display_picture_number;
|
dst->display_picture_number = src->display_picture_number;
|
||||||
|
dst->flags = src->flags;
|
||||||
|
|
||||||
memcpy(dst->error, src->error, sizeof(dst->error));
|
memcpy(dst->error, src->error, sizeof(dst->error));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user