summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2002-04-01 22:19:27 +0000
committerEwald Snel <esnel@users.sourceforge.net>2002-04-01 22:19:27 +0000
commitbc085b3b89b232b2d972221048f0cb947487b2b1 (patch)
tree13dacb9f7fba8ffe032a6abc4c118367fd981070 /src/xine-engine/video_out.c
parentf99e942b1317f978205e48c5dbad077955fce040 (diff)
downloadxine-lib-bc085b3b89b232b2d972221048f0cb947487b2b1.tar.gz
xine-lib-bc085b3b89b232b2d972221048f0cb947487b2b1.tar.bz2
- 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
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c6
1 files changed, 3 insertions, 3 deletions
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