From: Tim Walker Date: Sat, 17 Sep 2016 11:31:39 +0000 (+0200) Subject: libhb: add dedicated buffer flags to indicate whether an encoded frame is a key frame... X-Git-Tag: 1.0.0~213^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2df5fe643ebabf4e03456167475b6ca2bbe13c74;p=handbrake libhb: add dedicated buffer flags to indicate whether an encoded frame is a key frame or a reference frame. HB_FRAME_KEY and REF are in fact masks, not flags, and actually conflict with some PIC_FLAG_* values. --- diff --git a/libhb/internal.h b/libhb/internal.h index aa6f42774..742046680 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -96,6 +96,8 @@ struct hb_buffer_settings_s #define PIC_FLAG_REPEAT_FRAME 0x0200 #define HB_BUF_FLAG_EOF 0x0400 #define HB_BUF_FLAG_EOS 0x0800 +#define HB_FLAG_FRAMETYPE_KEY 0x1000 +#define HB_FLAG_FRAMETYPE_REF 0x2000 uint16_t flags; #define HB_COMB_NONE 0