summaryrefslogtreecommitdiff
path: root/src/dxr3/video_out_dxr3.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-07-08 19:52:01 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-07-08 19:52:01 +0000
commite6b38d8677c902a7647834634dbf9b475e21f405 (patch)
treec4aca12d5f197505c4204e3f715832c355382db8 /src/dxr3/video_out_dxr3.c
parent116bc3a7a3524010e4316233edbca8e719cd92a3 (diff)
downloadxine-lib-e6b38d8677c902a7647834634dbf9b475e21f405.tar.gz
xine-lib-e6b38d8677c902a7647834634dbf9b475e21f405.tar.bz2
rename the dxr3 vo_types to something more useful
we should now have correct menu highlight placements on 16:9 tv if only I had such a thingy to test ;) CVS patchset: 2232 CVS date: 2002/07/08 19:52:01
Diffstat (limited to 'src/dxr3/video_out_dxr3.c')
-rw-r--r--src/dxr3/video_out_dxr3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c
index a5df4c084..4f24bbd60 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.37 2002/07/08 17:07:18 mroi Exp $
+ * $Id: video_out_dxr3.c,v 1.38 2002/07/08 19:52:02 mroi Exp $
*/
/* mpeg1 encoding video out plugin for the dxr3.
@@ -665,7 +665,9 @@ static int dxr3_get_property(vo_driver_t *this_gen, int property)
case VO_PROP_TVMODE:
return 0;
case VO_PROP_VO_TYPE:
- return this->overlay_enabled ? VO_TYPE_DXR3_OVERLAY : VO_TYPE_DXR3_TVOUT;
+ if (this->overlay_enabled && is_fullscreen(this)) return VO_TYPE_DXR3_LETTERBOXED;
+ if (this->overlay_enabled || this->widescreen_enabled) return VO_TYPE_DXR3_WIDE;
+ return VO_TYPE_DXR3_LETTERBOXED;
}
printf("video_out_dxr3: property %d not implemented.\n", property);
return 0;