diff options
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 09ad0ce80..ce459d6e5 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -796,10 +796,14 @@ static int decodeFrame( hb_work_object_t *w, uint8_t *data, int size, int sequen { flags |= PIC_FLAG_PROGRESSIVE_FRAME; } - if ( frame.repeat_pict ) + if ( frame.repeat_pict == 1 ) { flags |= PIC_FLAG_REPEAT_FIRST_FIELD; } + if ( frame.repeat_pict == 2 ) + { + flags |= PIC_FLAG_REPEAT_FRAME; + } hb_buffer_t *buf; |