From 8364fd8a79b718e9d44e3f59dc010bf1f64fc076 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 28 Jun 2002 16:55:37 +0000 Subject: new video out types to distinguish between dxr3 overlay and tv mode CVS patchset: 2172 CVS date: 2002/06/28 16:55:37 --- src/dxr3/video_out_dxr3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dxr3') diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index 75c003cb0..ff46991b0 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.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_dxr3.c,v 1.32 2002/06/25 14:41:53 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.33 2002/06/28 16:55:37 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -652,7 +652,7 @@ static int dxr3_get_property(vo_driver_t *this_gen, int property) case VO_PROP_TVMODE: return 0; case VO_PROP_VO_TYPE: - return VO_TYPE_DXR3; + return this->overlay_enabled ? VO_TYPE_DXR3_OVERLAY : VO_TYPE_DXR3_TVOUT; } printf("video_out_dxr3: property %d not implemented.\n", property); return 0; @@ -689,6 +689,7 @@ static int dxr3_set_property(vo_driver_t *this_gen, int property, int value) printf("video_out_dxr3: setting aspect ratio to anamorphic\n"); #endif if (!this->overlay_enabled || fullscreen) + /* FIXME: Is it necessary to switch to anamorphic mode in fullscreen? */ val = EM8300_ASPECTRATIO_16_9; else /* The overlay window can adapt to the ratio */ val = EM8300_ASPECTRATIO_4_3; -- cgit v1.2.3