]> git.sesse.net Git - vlc/commitdiff
Added names to headers
authorRichard Shepherd <richards@videolan.org>
Mon, 5 Mar 2001 13:28:47 +0000 (13:28 +0000)
committerRichard Shepherd <richards@videolan.org>
Mon, 5 Mar 2001 13:28:47 +0000 (13:28 +0000)
Delete BBitmap[0] directly after overlay creation as no longer needed as overlay now owns Bits()

plugins/beos/Bitmaps.h
plugins/beos/InterfaceWindow.h
plugins/beos/MsgVals.h
plugins/beos/TransportButton.cpp
plugins/beos/TransportButton.h
plugins/beos/VideoWindow.h
plugins/beos/intf_beos.cpp
plugins/beos/vout_beos.cpp

index 0d05808254c128707856364230f2357593a0dccf..1e6cc61d26f928ed7d7fbec10c9f28b58f6ab367 100644 (file)
@@ -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
index 8b51296eb935b91e5b0cfebfd3c01133366f70b3..e906155c480d3b6f73256be6cd000485276c1a48 100644 (file)
@@ -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
index 218f6b06514e23bd6d791dfd2c564ce220b70f4a..c033c392096e596853b46729e35cc243e58f1eab 100644 (file)
@@ -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
index f6e0288c162bcde016f2602617234601b7c8b005..3765c31c2f60ac3c52b37f683ed63d5c5d69c63d 100644 (file)
@@ -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
index f6e05d8165f68e85647294645062444ac276f008..aae79e84a1b7698cc1a8328c329629b88cbc268d 100644 (file)
@@ -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
index d161660de58716fb4668a95310333fddfc897a8b..e39b50831b39c80d8e22e001647d6f0dd104a383 100644 (file)
@@ -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
index 2ec14a8614ad2721989cbd685a9af54b4f0e454b..30a7b0a8817463eecdea1b09036685fc0044dc78 100644 (file)
@@ -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
index 70d792dbbec54713d4635d44fdaae904d9842f24..1106b36cb721616e5b9c20ba512bb2ec4ab60dea 100644 (file)
@@ -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
                {