summaryrefslogtreecommitdiff
path: root/src/post/planar/boxblur.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/planar/boxblur.c')
-rw-r--r--src/post/planar/boxblur.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/post/planar/boxblur.c b/src/post/planar/boxblur.c
index d28ee12da..52fe67279 100644
--- a/src/post/planar/boxblur.c
+++ b/src/post/planar/boxblur.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: boxblur.c,v 1.2 2003/07/03 02:24:28 miguelfreitas Exp $
+ * $Id: boxblur.c,v 1.3 2003/07/12 03:15:23 miguelfreitas Exp $
*
* mplayer's boxblur
* Copyright (C) 2002 Michael Niedermayer <michaelni@gmx.at>
@@ -422,9 +422,12 @@ static int boxblur_draw(vo_frame_t *frame, xine_stream_t *stream)
yv12_frame->duration = frame->duration;
extra_info_merge(yv12_frame->extra_info, frame->extra_info);
- /* FIXME: implement! */
- /* yuy2_to_yv12() */
-
+ yuy2_to_yv12(frame->base[0], frame->pitches[0],
+ yv12_frame->base[0], yv12_frame->pitches[0],
+ yv12_frame->base[1], yv12_frame->pitches[1],
+ yv12_frame->base[2], yv12_frame->pitches[2],
+ frame->width, frame->height);
+
} else {
yv12_frame = frame;
yv12_frame->lock(yv12_frame);