From f6518586f4ff96282aa83faa5f1e54b26c657705 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Tue, 24 Jul 2001 12:57:29 +0000 Subject: big xshm cleanup (free memory properly, set up yuv2rgb only when necessary, clean up field picture handling), gearing up for rc2 CVS patchset: 334 CVS date: 2001/07/24 12:57:29 --- src/xine-engine/video_out.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/xine-engine/video_out.c') diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 0f59e0d6c..838423c42 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.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: video_out.c,v 1.35 2001/07/22 11:29:56 guenter Exp $ + * $Id: video_out.c,v 1.36 2001/07/24 12:57:30 guenter Exp $ * */ @@ -383,7 +383,8 @@ static void vo_open (vo_instance_t *this) { static vo_frame_t *vo_get_frame (vo_instance_t *this, uint32_t width, uint32_t height, - int ratio, int format, uint32_t duration) { + int ratio, int format, uint32_t duration, + int flags) { vo_frame_t *img; @@ -408,7 +409,7 @@ static vo_frame_t *vo_get_frame (vo_instance_t *this, /* let driver ensure this image has the right format */ - this->driver->update_frame_format (this->driver, img, width, height, ratio, format); + this->driver->update_frame_format (this->driver, img, width, height, ratio, format, flags); pthread_mutex_unlock (&img->mutex); -- cgit v1.2.3