Commit 75e0283e authored by Eric Petit's avatar Eric Petit

* AudioOutput.cpp : compilation fix.

 * VideoOutput.cpp : now --fullscreen works with BeOS video output.
parent 79bfcf80
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* aout.cpp: BeOS audio output * aout.cpp: BeOS audio output
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN * 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> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -81,7 +81,8 @@ int E_(OpenAudio) ( vlc_object_t * p_this ) ...@@ -81,7 +81,8 @@ int E_(OpenAudio) ( vlc_object_t * p_this )
{ {
/* BSoundPlayer does not support more than 2 channels AFAIK */ /* BSoundPlayer does not support more than 2 channels AFAIK */
i_nb_channels = 2; 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; p_format->channel_count = i_nb_channels;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout_beos.cpp: beos video output display method * vout_beos.cpp: beos video output display method
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * 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> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -203,6 +203,11 @@ VideoWindow::VideoWindow(int v_width, int v_height, BRect frame, ...@@ -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, 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); (i_height * r.min_height_scale), i_height * r.max_height_scale);
} }
if( config_GetInt( p_vout, "fullscreen" ) )
{
BWindow::Zoom();;
}
} }
VideoWindow::~VideoWindow() VideoWindow::~VideoWindow()
......
Markdown is supported
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