Lines 17-23
Link Here
|
17 |
*/ |
17 |
*/ |
18 |
|
18 |
|
19 |
#include "hb.h" |
19 |
#include "hb.h" |
20 |
#include "ffmpeg/avcodec.h" |
20 |
#include <ffmpeg/avcodec.h> |
21 |
#include "mpeg2dec/mpeg2.h" |
21 |
#include "mpeg2dec/mpeg2.h" |
22 |
|
22 |
|
23 |
#define SUPPRESS_AV_LOG |
23 |
#define SUPPRESS_AV_LOG |
Lines 551-559
int hb_deinterlace_work( hb_buffer_t * buf_in,
Link Here
|
551 |
yadif_store_ref( (const uint8_t**)pv->pic_in.data, pv ); |
551 |
yadif_store_ref( (const uint8_t**)pv->pic_in.data, pv ); |
552 |
|
552 |
|
553 |
hb_buffer_copy_settings( pv->buf_settings, buf_in ); |
553 |
hb_buffer_copy_settings( pv->buf_settings, buf_in ); |
554 |
|
554 |
|
555 |
/* don't let 'work_loop' send a chapter mark upstream */ |
555 |
/* don't let 'work_loop' send a chapter mark upstream */ |
556 |
buf_in->new_chap = 0; |
556 |
buf_in->new_chap = 0; |
557 |
|
557 |
|
558 |
pv->yadif_ready = 1; |
558 |
pv->yadif_ready = 1; |
559 |
|
559 |
|
Lines 591-599
int hb_deinterlace_work( hb_buffer_t * buf_in,
Link Here
|
591 |
|
591 |
|
592 |
/* Replace buffered settings with input buffer settings */ |
592 |
/* Replace buffered settings with input buffer settings */ |
593 |
hb_buffer_copy_settings( pv->buf_settings, buf_in ); |
593 |
hb_buffer_copy_settings( pv->buf_settings, buf_in ); |
594 |
|
594 |
|
595 |
/* don't let 'work_loop' send a chapter mark upstream */ |
595 |
/* don't let 'work_loop' send a chapter mark upstream */ |
596 |
buf_in->new_chap = 0; |
596 |
buf_in->new_chap = 0; |
597 |
|
597 |
|
598 |
return FILTER_OK; |
598 |
return FILTER_OK; |
599 |
} |
599 |
} |