diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-08-28 15:46:55 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-08-28 15:46:55 +0000 |
commit | b5ccc95d14f0937c3096c536165af0e2dbfc10ee (patch) | |
tree | fad8c319fef14ebe4c4de5e3139b80a959b0d56b /src/dxr3/dxr3_decode_spu.c | |
parent | fbe5d5c87ff060228583e32cbd9e22412132fcef (diff) | |
download | xine-lib-b5ccc95d14f0937c3096c536165af0e2dbfc10ee.tar.gz xine-lib-b5ccc95d14f0937c3096c536165af0e2dbfc10ee.tar.bz2 |
fix some button areas
special features like the Matrix White Rabbit should work with dxr3 now
CVS patchset: 2542
CVS date: 2002/08/28 15:46:55
Diffstat (limited to 'src/dxr3/dxr3_decode_spu.c')
-rw-r--r-- | src/dxr3/dxr3_decode_spu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c index b1d61c7e6..7e8cb0739 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.15 2002/08/17 14:30:09 mroi Exp $ + * $Id: dxr3_decode_spu.c,v 1.16 2002/08/28 15:46:55 mroi Exp $ */ /* dxr3 spu decoder plugin. @@ -553,8 +553,10 @@ 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->xine->video_driver->get_property(this->xine->video_driver, VO_PROP_VO_TYPE) == - VO_TYPE_DXR3_LETTERBOXED) { - /* modify button areas for anamorphic menus on tv out */ + VO_TYPE_DXR3_LETTERBOXED && this->xine->spu_channel_user == -1 && + this->xine->spu_channel_letterbox != this->xine->spu_channel && + this->xine->spu_channel_letterbox >= 0) { + /* modify button areas for letterboxed anamorphic menus on tv out */ int top_black_bar = this->height / 8; btn->top = btn->top * 3 / 4 + top_black_bar; btn->bottom = btn->bottom * 3 / 4 + top_black_bar; |