summaryrefslogtreecommitdiff
path: root/src/post/mosaico/switch.c
diff options
context:
space:
mode:
authorRobin KAY <komadori@users.sourceforge.net>2003-10-22 20:38:09 +0000
committerRobin KAY <komadori@users.sourceforge.net>2003-10-22 20:38:09 +0000
commit51616b96cd2793085ae314fecde90ac9a0735a04 (patch)
tree0b39e50ada1882338f37d0225729a201c755e61c /src/post/mosaico/switch.c
parent35decc993a98b994662fcdca0fc537398d64a03d (diff)
downloadxine-lib-51616b96cd2793085ae314fecde90ac9a0735a04.tar.gz
xine-lib-51616b96cd2793085ae314fecde90ac9a0735a04.tar.bz2
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
Diffstat (limited to 'src/post/mosaico/switch.c')
-rw-r--r--src/post/mosaico/switch.c10
1 files changed, 7 insertions, 3 deletions
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;
}