summaryrefslogtreecommitdiff
path: root/src/libspudec/spu.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-09-18 04:20:09 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-09-18 04:20:09 +0000
commit40a213a03b067c8ac436b784c6a54d0e6e3d2311 (patch)
tree358bd1fd1471cd7938f8db6c21f72ffe8853e27d /src/libspudec/spu.c
parentdb4a9292eb386fe91bbb4059c1b172e45bd32ce7 (diff)
downloadxine-lib-40a213a03b067c8ac436b784c6a54d0e6e3d2311.tar.gz
xine-lib-40a213a03b067c8ac436b784c6a54d0e6e3d2311.tar.bz2
Updating the DVD menu code to use better nav_pci information.
libspudec parses nav_pci info correctly. libdvdnav does not parse nav_pci info at all. CVS patchset: 2681 CVS date: 2002/09/18 04:20:09
Diffstat (limited to 'src/libspudec/spu.c')
-rw-r--r--src/libspudec/spu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c
index b302ce9dc..da1aedfcd 100644
--- a/src/libspudec/spu.c
+++ b/src/libspudec/spu.c
@@ -35,7 +35,7 @@
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: spu.c,v 1.45 2002/09/04 23:31:10 guenter Exp $
+ * $Id: spu.c,v 1.46 2002/09/18 04:20:09 jcdutton Exp $
*
*/
@@ -338,6 +338,10 @@ void spudec_process (spudec_decoder_t *this, uint32_t stream_id) {
spu_event.event.type = XINE_EVENT_INPUT_BUTTON_FORCE;
spu_event.data = &spu_button;
spu_button.buttonN = this->buttonN;
+ /* The BUTTON_FORCE event cannot call "get_nav_pci",
+ so the nav_pci info has to be passed in the event instead. */
+ /* FIXME: the dxr3 code will have to be updated. */
+ memcpy(&spu_button.nav_pci, &this->pci, sizeof(pci_t) );
xine_send_event(this->xine, &spu_event.event);
}
#ifdef LOG_BUTTON