From: Miguel F. <mig...@us...> - 2003-08-04 03:47:14
|
Update of /cvsroot/xine/xine-lib/src/post/deinterlace In directory sc8-pr-cvs1:/tmp/cvs-serv11486/src/post/deinterlace Modified Files: xine_plugin.c Log Message: support for arbitrary aspect ratios patch by Philip Jgenstedt Index: xine_plugin.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/post/deinterlace/xine_plugin.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- xine_plugin.c 12 Jul 2003 02:26:13 -0000 1.10 +++ xine_plugin.c 4 Aug 2003 03:47:10 -0000 1.11 @@ -44,7 +44,7 @@ plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 3, "tvtime", XINE_VERSION_CODE, &deinterlace_special_info, &deinterlace_init_plugin }, + { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 4, "tvtime", XINE_VERSION_CODE, &deinterlace_special_info, &deinterlace_init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; @@ -219,7 +219,7 @@ static void deinterlace_flush(xine_video_port_t *port_gen); static void deinterlace_open(xine_video_port_t *port_gen, xine_stream_t *stream); static vo_frame_t *deinterlace_get_frame(xine_video_port_t *port_gen, uint32_t width, - uint32_t height, int ratio_code, + uint32_t height, double ratio, int format, int flags); static void deinterlace_close(xine_video_port_t *port_gen, xine_stream_t *stream); @@ -487,7 +487,7 @@ } static vo_frame_t *deinterlace_get_frame(xine_video_port_t *port_gen, uint32_t width, - uint32_t height, int ratio_code, + uint32_t height, double ratio, int format, int flags) { post_video_port_t *port = (post_video_port_t *)port_gen; @@ -495,7 +495,7 @@ vo_frame_t *frame; frame = port->original_port->get_frame(port->original_port, - width, height, ratio_code, format, flags); + width, height, ratio, format, flags); pthread_mutex_lock (&this->lock); |