From e1ced4e28d02cf46c3b5cfe5ccf6a8a1db574ac4 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 26 Oct 2002 20:52:08 +0000 Subject: forgot to copy the nav packet CVS patchset: 3020 CVS date: 2002/10/26 20:52:08 --- src/dxr3/dxr3_decode_spu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c index 3ea405422..5beb40ee9 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.23 2002/10/26 20:12:59 mroi Exp $ + * $Id: dxr3_decode_spu.c,v 1.24 2002/10/26 20:52:08 mroi Exp $ */ /* dxr3 spu decoder plugin. @@ -316,6 +316,7 @@ static void dxr3_spudec_decode_data(spu_decoder_t *this_gen, buf_element_t *buf) event.data = &spu_button; event.data_length = sizeof(spu_button); spu_button.buttonN = this->buttonN; + memcpy(&spu_button.nav_pci, &this->pci, sizeof(pci_t)); xine_event_send(this->stream, &event); } if ((dxr3_spudec_copy_nav_to_btn(this, 0, &btn ) > 0)) { @@ -587,6 +588,7 @@ static int dxr3_spudec_copy_nav_to_btn(dxr3_spudec_t *this, int32_t mode, em8300 event.data = &spu_button; event.data_length = sizeof(spu_button); spu_button.buttonN = this->buttonN; + memcpy(&spu_button.nav_pci, &this->pci, sizeof(pci_t)); xine_event_send(this->stream, &event); } -- cgit v1.2.3