From 75e0283edc67fbd62ffe63111eff3aaf7b3fbd67 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Fri, 22 Nov 2002 19:37:25 +0000 Subject: [PATCH] * AudioOutput.cpp : compilation fix. * VideoOutput.cpp : now --fullscreen works with BeOS video output. --- modules/gui/beos/AudioOutput.cpp | 5 +++-- modules/gui/beos/VideoOutput.cpp | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/gui/beos/AudioOutput.cpp b/modules/gui/beos/AudioOutput.cpp index c32816affe..e203561257 100644 --- a/modules/gui/beos/AudioOutput.cpp +++ b/modules/gui/beos/AudioOutput.cpp @@ -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 * Samuel Hocevar @@ -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; diff --git a/modules/gui/beos/VideoOutput.cpp b/modules/gui/beos/VideoOutput.cpp index a7fbc889bf..492257a806 100644 --- a/modules/gui/beos/VideoOutput.cpp +++ b/modules/gui/beos/VideoOutput.cpp @@ -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 * Samuel Hocevar @@ -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() -- 2.39.5