From bc085b3b89b232b2d972221048f0cb947487b2b1 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Mon, 1 Apr 2002 22:19:27 +0000 Subject: - Fix frame leak in Xv video driver - Frames can be freed by video driver until video driver' exit(), so you need to call this before vo_free_img_buffers() to avoid frame leak CVS patchset: 1660 CVS date: 2002/04/01 22:19:27 --- src/xine-engine/video_out.c | 6 +++--- 1 file changed, 3 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 d92921c85..2536b8e87 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.90 2002/03/29 19:52:16 f1rmb Exp $ + * $Id: video_out.c,v 1.91 2002/04/01 22:19:28 esnel Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -849,10 +849,10 @@ static void vo_exit (vo_instance_t *this_gen) { pthread_join (this->video_thread, &p); } - vo_free_img_buffers (this_gen); - this->driver->exit (this->driver); + vo_free_img_buffers (this_gen); + #ifdef LOG printf ("video_out: vo_exit... done\n"); #endif -- cgit v1.2.3