diff options
Diffstat (limited to 'src/libspudec/spu.c')
-rw-r--r-- | src/libspudec/spu.c | 6 |
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 |