From 8cee0fd2910cbdafe45e1c5d43fa930d367cec47 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 22 Nov 2002 18:06:09 +0000 Subject: when the image does not fit the viewport and black bars need to be added, their size ratio and therefore the position of the image is now configurable (I remembered my arts lessons at school where the teacher told us that images look more pleasing when the lower border is twice the size of the upper and set the default accordingly. ;) CVS patchset: 3337 CVS date: 2002/11/22 18:06:09 --- src/video_out/video_out_syncfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video_out/video_out_syncfb.c') diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index f321e10f4..45bb855af 100644 --- a/src/video_out/video_out_syncfb.c +++ b/src/video_out/video_out_syncfb.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_syncfb.c,v 1.79 2002/11/20 11:57:48 mroi Exp $ + * $Id: video_out_syncfb.c,v 1.80 2002/11/22 18:06:20 mroi Exp $ * * video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine * @@ -949,7 +949,7 @@ static void *init_video_out_plugin(config_values_t *config, void *visual_gen) this->drawable = visual->d; this->gc = XCreateGC (this->display, this->drawable, 0, NULL); - vo_scale_init( &this->sc, visual->display_ratio, 1, 0 ); + vo_scale_init( &this->sc, visual->display_ratio, 1, 0, config ); this->sc.frame_output_cb = visual->frame_output_cb; this->sc.user_data = visual->user_data; -- cgit v1.2.3