]> git.sesse.net Git - vlc/commitdiff
* AudioOutput.cpp : compilation fix.
authorEric Petit <titer@videolan.org>
Fri, 22 Nov 2002 19:37:25 +0000 (19:37 +0000)
committerEric Petit <titer@videolan.org>
Fri, 22 Nov 2002 19:37:25 +0000 (19:37 +0000)
 * VideoOutput.cpp : now --fullscreen works with BeOS video output.

modules/gui/beos/AudioOutput.cpp
modules/gui/beos/VideoOutput.cpp

index c32816affee50e9b6ef2146a7c1218c9e3c1d1fc..e203561257b4e4619a4f66cea8dc96ef5a9dc921 100644 (file)
@@ -2,7 +2,7 @@
  * aout.cpp: BeOS audio output
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: AudioOutput.cpp,v 1.15 2002/10/30 06:37:20 titer Exp $
+ * $Id: AudioOutput.cpp,v 1.16 2002/11/22 19:37:25 titer Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -81,7 +81,8 @@ int E_(OpenAudio) ( vlc_object_t * p_this )
     {
         /* BSoundPlayer does not support more than 2 channels AFAIK */
         i_nb_channels = 2;
-        p_aout->output.output.i_channels = AOUT_CHAN_STEREO;
+        p_aout->output.output.i_physical_channels
+            = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT;
     }
     p_format->channel_count = i_nb_channels;
 
index a7fbc889bf28d5e2f21383fe3951846b3f1587ff..492257a806220616805ceb5e679349986f32e6d2 100644 (file)
@@ -2,7 +2,7 @@
  * vout_beos.cpp: beos video output display method
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
- * $Id: VideoOutput.cpp,v 1.5 2002/10/30 00:59:22 titer Exp $
+ * $Id: VideoOutput.cpp,v 1.6 2002/11/22 19:37:25 titer Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -203,6 +203,11 @@ VideoWindow::VideoWindow(int v_width, int v_height, BRect frame,
        SetSizeLimits((i_width * r.min_width_scale), i_width * r.max_width_scale,
                      (i_height * r.min_height_scale), i_height * r.max_height_scale);
     }
+    
+    if( config_GetInt( p_vout, "fullscreen" ) )
+    {
+        BWindow::Zoom();;
+    }
 }
 
 VideoWindow::~VideoWindow()