diff options
Diffstat (limited to 'src/post/mosaico/switch.c')
-rw-r--r-- | src/post/mosaico/switch.c | 10 |
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; } |