diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-06 16:36:43 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-06 16:36:43 +0000 |
commit | 1785298ed1de7923d678b9386e682d157be850d8 (patch) | |
tree | 26b97ca9b433ac2f48dbbccd0aa7736518b3a28b /src/libspudec/spu.h | |
parent | bd39d799be9fcc823bf6a84aa62d022e058a3e9c (diff) | |
download | xine-lib-1785298ed1de7923d678b9386e682d157be850d8.tar.gz xine-lib-1785298ed1de7923d678b9386e682d157be850d8.tar.bz2 |
Button areas in the nav packets are in screen coordinated.
Overlay clipping areas are in overlay coordinates.
Therefore, up to now, the menu highlight positions were only correct, when
the menu subpicture started at (0,0) on screen. Although this seems to be
common, it is not necessarily true and I have dvds here, for which it is
not.
The fix is easy: Correctly convert the button areas to clipping areas by
subtracting the subpictures display offset.
CVS patchset: 2221
CVS date: 2002/07/06 16:36:43
Diffstat (limited to 'src/libspudec/spu.h')
-rw-r--r-- | src/libspudec/spu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libspudec/spu.h b/src/libspudec/spu.h index f85c16841..27329a30a 100644 --- a/src/libspudec/spu.h +++ b/src/libspudec/spu.h @@ -19,7 +19,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: spu.h,v 1.14 2002/04/24 13:42:17 jcdutton Exp $ + * $Id: spu.h,v 1.15 2002/07/06 16:36:43 mroi Exp $ * * This file was originally part of the OMS program. * @@ -119,6 +119,7 @@ typedef struct spudec_decoder_s { void spudec_reassembly (spudec_seq_t *seq, uint8_t *pkt_data, u_int pkt_len); void spudec_process( spudec_decoder_t *this, uint32_t stream_id); void spudec_decode_nav( spudec_decoder_t *this, buf_element_t *buf); -void spudec_copy_nav_to_overlay(pci_t* nav_pci, uint32_t* clut, int32_t button, int32_t mode, vo_overlay_t * overlay ); +void spudec_copy_nav_to_overlay(pci_t* nav_pci, uint32_t* clut, int32_t button, int32_t mode, + vo_overlay_t * overlay, vo_overlay_t * base ); #endif |