diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-22 18:06:09 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-22 18:06:09 +0000 |
commit | 8cee0fd2910cbdafe45e1c5d43fa930d367cec47 (patch) | |
tree | ff10bebf427b3f9211e0a473ecc58b7eeb8b1c0f /src/video_out/video_out_syncfb.c | |
parent | eef61f25b051865c9554514a66cb9b45c6a5f4bd (diff) | |
download | xine-lib-8cee0fd2910cbdafe45e1c5d43fa930d367cec47.tar.gz xine-lib-8cee0fd2910cbdafe45e1c5d43fa930d367cec47.tar.bz2 |
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
Diffstat (limited to 'src/video_out/video_out_syncfb.c')
-rw-r--r-- | src/video_out/video_out_syncfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |