X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fdeinterlace.c;h=2d35ecf45a6bbe8f8cb402d665bc93a045fc5e42;hb=78963278a6dd922da72f1b52be3e1f9211915401;hp=a6d3832d3688b06690ba39b34fc72e4fdf0c7b41;hpb=ea0095b9c8183683b7202035a4f36b476dc008aa;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/deinterlace.c b/libhb/deinterlace.c index a6d3832d..2d35ecf4 100644 --- a/libhb/deinterlace.c +++ b/libhb/deinterlace.c @@ -65,7 +65,7 @@ hb_filter_private_t * hb_deinterlace_init( int pix_fmt, int height, char * settings ); -int hb_deinterlace_work( const hb_buffer_t * buf_in, +int hb_deinterlace_work( hb_buffer_t * buf_in, hb_buffer_t ** buf_out, int pix_fmt, int width, @@ -497,7 +497,7 @@ void hb_deinterlace_close( hb_filter_private_t * pv ) free( pv ); } -int hb_deinterlace_work( const hb_buffer_t * buf_in, +int hb_deinterlace_work( hb_buffer_t * buf_in, hb_buffer_t ** buf_out, int pix_fmt, int width, @@ -551,6 +551,9 @@ int hb_deinterlace_work( const hb_buffer_t * buf_in, yadif_store_ref( (const uint8_t**)pv->pic_in.data, pv ); hb_buffer_copy_settings( pv->buf_settings, buf_in ); + + /* don't let 'work_loop' send a chapter mark upstream */ + buf_in->new_chap = 0; pv->yadif_ready = 1; @@ -588,6 +591,9 @@ int hb_deinterlace_work( const hb_buffer_t * buf_in, /* Replace buffered settings with input buffer settings */ hb_buffer_copy_settings( pv->buf_settings, buf_in ); + + /* don't let 'work_loop' send a chapter mark upstream */ + buf_in->new_chap = 0; return FILTER_OK; }