diff options
Diffstat (limited to 'src/post/mosaico/switch.c')
-rw-r--r-- | src/post/mosaico/switch.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/post/mosaico/switch.c b/src/post/mosaico/switch.c index 4b60c948c..40f76a56d 100644 --- a/src/post/mosaico/switch.c +++ b/src/post/mosaico/switch.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: switch.c,v 1.3 2003/05/31 18:33:29 miguelfreitas Exp $ + * $Id: switch.c,v 1.4 2003/08/04 03:47:10 miguelfreitas Exp $ */ /* @@ -41,7 +41,7 @@ post_info_t switch_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE }; plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_POST, 3, "switch", SWVERSION, &switch_special_info, &switch_init_plugin }, + { PLUGIN_POST, 4, "switch", SWVERSION, &switch_special_info, &switch_init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; @@ -80,10 +80,10 @@ static int switch_rewire(xine_post_out_t *output, void *data); /* replaced video_port functions */ static void switch_open(xine_video_port_t *port_gen, xine_stream_t *stream); static vo_frame_t *switch_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 vo_frame_t *switch_get_frame_2(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 switch_close(xine_video_port_t *port_gen, xine_stream_t *stream); @@ -282,7 +282,7 @@ static void switch_open(xine_video_port_t *port_gen, xine_stream_t *stream) } static vo_frame_t *switch_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; @@ -291,7 +291,7 @@ static vo_frame_t *switch_get_frame(xine_video_port_t *port_gen, uint32_t width, pthread_mutex_lock(&output->mut1); frame = port->original_port->get_frame(port->original_port, - width, height , ratio_code, format, flags); + width, height , ratio, format, flags); post_intercept_video_frame(frame, port); /* replace with our own draw function */ @@ -303,7 +303,7 @@ static vo_frame_t *switch_get_frame(xine_video_port_t *port_gen, uint32_t width, } static vo_frame_t *switch_get_frame_2(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; @@ -313,7 +313,7 @@ static vo_frame_t *switch_get_frame_2(xine_video_port_t *port_gen, uint32_t widt pthread_mutex_lock(&output->mut1); frame = port->original_port->get_frame(port->original_port, - width, height , ratio_code, format, flags); + width, height , ratio, format, flags); post_intercept_video_frame(frame, port); /* replace with our own draw function */ |