From c636a67577b49a714e4f5919ab1073b79979de37 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 10 Jul 2002 14:04:41 +0000 Subject: handle freshly introduced pan&scan aspect like anamorphic aspect CVS patchset: 2247 CVS date: 2002/07/10 14:04:41 --- src/video_out/video_out_fb.c | 3 ++- src/video_out/video_out_opengl.c | 3 ++- src/video_out/video_out_sdl.c | 3 ++- src/video_out/video_out_syncfb.c | 3 ++- src/video_out/video_out_vidix.c | 3 ++- src/video_out/video_out_xshm.c | 3 ++- src/video_out/video_out_xv.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c index 59fe0b109..3f407a401 100644 --- a/src/video_out/video_out_fb.c +++ b/src/video_out/video_out_fb.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_fb.c,v 1.11 2002/06/12 12:22:38 f1rmb Exp $ + * $Id: video_out_fb.c,v 1.12 2002/07/10 14:04:41 mroi Exp $ * * video_out_fb.c, frame buffer xine driver by Miguel Freitas * @@ -255,6 +255,7 @@ static void fb_compute_ideal_size (fb_driver_t *this, fb_frame_t *frame) { case ASPECT_AUTO: switch (frame->ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index 3b554012b..b7d376fbc 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.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_opengl.c,v 1.12 2002/06/21 19:26:57 miguelfreitas Exp $ + * $Id: video_out_opengl.c,v 1.13 2002/07/10 14:04:41 mroi Exp $ * * video_out_glut.c, glut based OpenGL rendering interface for xine * Matthias Hopf @@ -418,6 +418,7 @@ static void opengl_compute_ideal_size (opengl_driver_t *this, case ASPECT_AUTO: switch (ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ diff --git a/src/video_out/video_out_sdl.c b/src/video_out/video_out_sdl.c index ffc11b0cb..6123190e1 100644 --- a/src/video_out/video_out_sdl.c +++ b/src/video_out/video_out_sdl.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_sdl.c,v 1.8 2002/06/12 12:22:38 f1rmb Exp $ + * $Id: video_out_sdl.c,v 1.9 2002/07/10 14:04:41 mroi Exp $ * * video_out_sdl.c, Simple DirectMedia Layer * @@ -251,6 +251,7 @@ static void sdl_compute_ideal_size (sdl_driver_t *this) { case ASPECT_AUTO: switch (this->delivered_ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index 66d02e72a..2ab83e291 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.71 2002/06/12 12:22:38 f1rmb Exp $ + * $Id: video_out_syncfb.c,v 1.72 2002/07/10 14:04:41 mroi Exp $ * * video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine * @@ -430,6 +430,7 @@ static void syncfb_compute_ideal_size (syncfb_driver_t *this) case ASPECT_AUTO: switch (this->delivered_ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c index 880f29534..d6a0b1af0 100644 --- a/src/video_out/video_out_vidix.c +++ b/src/video_out/video_out_vidix.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_vidix.c,v 1.3 2002/06/21 19:26:57 miguelfreitas Exp $ + * $Id: video_out_vidix.c,v 1.4 2002/07/10 14:04:42 mroi Exp $ * * video_out_vidix.c * @@ -498,6 +498,7 @@ static void vidix_compute_ideal_size (vidix_driver_t *this) { case ASPECT_AUTO: switch (this->delivered_ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index db403c04a..c7fd72542 100644 --- a/src/video_out/video_out_xshm.c +++ b/src/video_out/video_out_xshm.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_xshm.c,v 1.77 2002/06/20 17:47:13 siggi Exp $ + * $Id: video_out_xshm.c,v 1.78 2002/07/10 14:04:42 mroi Exp $ * * video_out_xshm.c, X11 shared memory extension interface for xine * @@ -476,6 +476,7 @@ static void xshm_compute_ideal_size (xshm_driver_t *this, xshm_frame_t *frame) { case ASPECT_AUTO: switch (frame->ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index f44175dcb..ad685093f 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.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_xv.c,v 1.121 2002/06/21 19:26:57 miguelfreitas Exp $ + * $Id: video_out_xv.c,v 1.122 2002/07/10 14:04:42 mroi Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -630,6 +630,7 @@ static void xv_compute_ideal_size (xv_driver_t *this) { case ASPECT_AUTO: switch (this->delivered_ratio_code) { case XINE_ASPECT_RATIO_ANAMORPHIC: /* anamorphic */ + case XINE_ASPECT_RATIO_PAN_SCAN: /* we display pan&scan as widescreen */ desired_ratio = 16.0 /9.0; break; case XINE_ASPECT_RATIO_211_1: /* 2.11:1 */ -- cgit v1.2.3