Commit da6730d5 authored by Richard Shepherd's avatar Richard Shepherd
Browse files

Added names to headers

Delete BBitmap[0] directly after overlay creation as no longer needed as overlay now owns Bits()
parent 4eb64642
......@@ -4,6 +4,7 @@
* Copyright (C) 2001 VideoLAN
*
* Authors:
* Tony Castley <tcastley@mail.powerup.com.au>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -4,6 +4,8 @@
* Copyright (C) 1999, 2000, 2001 VideoLAN
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Tony Castley <tcastley@mail.powerup.com.au>
* Richard Shepherd <richard@rshepherd.demon.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -4,6 +4,7 @@
* Copyright (C) 2001 VideoLAN
*
* Authors:
* Tony Castley <tcastley@mail.powerup.com.au>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -4,6 +4,7 @@
* Copyright (C) 2001 VideoLAN
*
* Authors:
* Tony Castley <tcastley@mail.powerup.com.au>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -4,6 +4,7 @@
* Copyright (C) 2001 VideoLAN
*
* Authors:
* Tony Castley <tcastley@mail.powerup.com.au>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -4,6 +4,8 @@
* Copyright (C) 1999, 2000, 2001 VideoLAN
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Tony Castley <tcastley@mail.powerup.com.au>
* Richard Shepherd <richard@rshepherd.demon.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -2,10 +2,12 @@
* intf_beos.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: intf_beos.cpp,v 1.13 2001/03/05 01:29:25 sam Exp $
* $Id: intf_beos.cpp,v 1.14 2001/03/05 13:28:47 richards Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Tony Castley <tcastley@mail.powerup.com.au>
* Richard Shepherd <richard@rshepherd.demon.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -5,6 +5,7 @@
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Tony Castley <tcastley@mail.powerup.com.au>
* Richard Shepherd <richard@rshepherd.demon.co.uk>
*
* This program is free software; you can redistribute it and/or modify
......@@ -219,9 +220,11 @@ VideoWindow::~VideoWindow()
Hide();
Sync();
wait_for_thread(fDrawThreadID, &result);
delete bitmap[0];
if(!fUsingOverlay)
{
delete bitmap[0];
delete bitmap[1];
}
}
......@@ -424,6 +427,7 @@ int vout_Init( vout_thread_t *p_vout )
{
vout_SetBuffers( p_vout, (byte_t *)p_win->bitmap[0]->Bits(),
(byte_t *)p_win->bitmap[0]->Bits());
delete p_win->bitmap[0];
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment