diff options
Diffstat (limited to 'libhb/muxogm.c')
-rw-r--r-- | libhb/muxogm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxogm.c b/libhb/muxogm.c index 4a008ff78..86e44f0e9 100644 --- a/libhb/muxogm.c +++ b/libhb/muxogm.c @@ -268,7 +268,7 @@ static int OGMMux( hb_mux_object_t * m, hb_mux_data_t * mux_data, case HB_VCODEC_X264: op.bytes = buf->size + 1; op.packet = malloc( op.bytes ); - op.packet[0] = buf->key ? 0x08 : 0x00; + op.packet[0] = (buf->frametype & HB_FRAME_KEY) ? 0x08 : 0x00; memcpy( &op.packet[1], buf->data, buf->size ); op.b_o_s = 0; op.e_o_s = 0; |