]> granicus.if.org Git - handbrake/commitdiff
libhb: add dedicated buffer flags to indicate whether an encoded frame is a key frame...
authorTim Walker <tdskywalker@gmail.com>
Sat, 17 Sep 2016 11:31:39 +0000 (13:31 +0200)
committerTim Walker <tdskywalker@gmail.com>
Sat, 17 Sep 2016 13:44:22 +0000 (15:44 +0200)
HB_FRAME_KEY and REF are in fact masks, not flags,
and actually conflict with some PIC_FLAG_* values.

libhb/internal.h

index aa6f42774ba1ab0f278df4c0d09c2e9895599e7e..7420466801ad2bfd6a9623aef46a1b038ff4b77b 100644 (file)
@@ -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