From 51616b96cd2793085ae314fecde90ac9a0735a04 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Wed, 22 Oct 2003 20:38:09 +0000 Subject: Replace copy member in vo_frame_t with proc_frame and proc_slice. Increase video_out API version to 18. CVS patchset: 5574 CVS date: 2003/10/22 20:38:09 --- src/post/mosaico/mosaico.c | 10 +++++++--- src/post/mosaico/switch.c | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'src/post/mosaico') diff --git a/src/post/mosaico/mosaico.c b/src/post/mosaico/mosaico.c index 8b095769c..03f488b7a 100644 --- a/src/post/mosaico/mosaico.c +++ b/src/post/mosaico/mosaico.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: mosaico.c,v 1.14 2003/10/06 21:52:43 miguelfreitas Exp $ + * $Id: mosaico.c,v 1.15 2003/10/22 20:38:10 komadori Exp $ */ /* @@ -356,7 +356,9 @@ static vo_frame_t *mosaico_get_frame(xine_video_port_t *port_gen, uint32_t width /* replace with our own draw function */ frame->draw = mosaico_draw; /* decoders should not copy the frames, since they won't be displayed */ - frame->copy = NULL; + frame->proc_slice = NULL; + frame->proc_frame = NULL; + return frame; } @@ -373,7 +375,9 @@ static vo_frame_t *mosaico_get_frame_2(xine_video_port_t *port_gen, uint32_t wid /* replace with our own draw function */ frame->draw = mosaico_draw_2; /* decoders should not copy the frames, since they won't be displayed */ - frame->copy = NULL; + frame->proc_slice = NULL; + frame->proc_frame = NULL; + return frame; } diff --git a/src/post/mosaico/switch.c b/src/post/mosaico/switch.c index 694db8697..4c5308363 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.6 2003/10/06 21:52:43 miguelfreitas Exp $ + * $Id: switch.c,v 1.7 2003/10/22 20:38:10 komadori Exp $ */ /* @@ -297,8 +297,10 @@ static vo_frame_t *switch_get_frame(xine_video_port_t *port_gen, uint32_t width, /* replace with our own draw function */ frame->draw = switch_draw; /* decoders should not copy the frames, since they won't be displayed */ - frame->copy = NULL; + frame->proc_slice = NULL; + frame->proc_frame = NULL; pthread_mutex_unlock(&output->mut1); + return frame; } @@ -319,8 +321,10 @@ static vo_frame_t *switch_get_frame_2(xine_video_port_t *port_gen, uint32_t widt /* replace with our own draw function */ frame->draw = switch_draw_2; /* decoders should not copy the frames, since they won't be displayed */ - frame->copy = NULL; + frame->proc_slice = NULL; + frame->proc_frame = NULL; pthread_mutex_unlock(&output->mut1); + return frame; } -- cgit v1.2.3