summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_decode_spu.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/dxr3_decode_spu.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/dxr3_decode_spu.c')
-rw-r--r--src/dxr3/dxr3_decode_spu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c
index 13fa20b8b..2a02c3595 100644
--- a/src/dxr3/dxr3_decode_spu.c
+++ b/src/dxr3/dxr3_decode_spu.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: dxr3_decode_spu.c,v 1.9 2002/07/05 17:32:01 mroi Exp $
+ * $Id: dxr3_decode_spu.c,v 1.10 2002/07/08 19:52:01 mroi Exp $
*/
/* dxr3 spu decoder plugin.
@@ -321,7 +321,7 @@ static void dxr3_spudec_decode_data(spu_decoder_t *this_gen, buf_element_t *buf)
if (this->aspect == XINE_ASPECT_RATIO_ANAMORPHIC && this->xine->spu_channel_user == -1 &&
!this->pan_scan && this->xine->spu_channel_letterbox >= 0 &&
this->xine->video_driver->get_property(this->xine->video_driver, VO_PROP_VO_TYPE) ==
- VO_TYPE_DXR3_TVOUT) {
+ VO_TYPE_DXR3_LETTERBOXED) {
/* Use the letterbox version of the subpicture for tv out. */
spu_channel = this->xine->spu_channel_letterbox;
}
@@ -407,7 +407,7 @@ static int dxr3_present(xine_t *xine)
#ifdef LOG_SPU
printf("dxr3_decode_spu: dxr3 presence test: info = %d\n", info);
#endif
- if ((info != VO_TYPE_DXR3_TVOUT) && (info != VO_TYPE_DXR3_OVERLAY))
+ if ((info != VO_TYPE_DXR3_LETTERBOXED) && (info != VO_TYPE_DXR3_WIDE))
return 0;
}
return 1;
@@ -530,7 +530,7 @@ static int dxr3_spudec_copy_nav_to_btn(dxr3_spudec_t *this, int32_t mode, em8300
btn->bottom = button_ptr->y_end;
if (this->aspect == XINE_ASPECT_RATIO_ANAMORPHIC && !this->pan_scan &&
this->xine->video_driver->get_property(this->xine->video_driver, VO_PROP_VO_TYPE) ==
- VO_TYPE_DXR3_TVOUT) {
+ VO_TYPE_DXR3_LETTERBOXED) {
/* modify button areas for anamorphic menus on tv out */
int top_black_bar = this->height / 8;
btn->top = btn->top * 3 / 4 + top_black_bar;