diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-10-23 11:44:30 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-10-23 11:44:30 +0000 |
commit | d5d49284577e3e5830ff64fc79ced4d7b2887409 (patch) | |
tree | 2f1c40721a9d8e1df7825f5a1a75d14a44ec8643 /src/libspudec | |
parent | 2004c046663828bcb6e81504c4645c9dffcbf521 (diff) | |
download | xine-lib-d5d49284577e3e5830ff64fc79ced4d7b2887409.tar.gz xine-lib-d5d49284577e3e5830ff64fc79ced4d7b2887409.tar.bz2 |
input_dvd.c now listens for keyboard events from xine-ui.
CVS patchset: 2962
CVS date: 2002/10/23 11:44:30
Diffstat (limited to 'src/libspudec')
-rw-r--r-- | src/libspudec/xine_decoder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c index ba255b1ae..7b0c3c601 100644 --- a/src/libspudec/xine_decoder.c +++ b/src/libspudec/xine_decoder.c @@ -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: xine_decoder.c,v 1.79 2002/10/21 12:11:01 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.80 2002/10/23 11:44:31 jcdutton Exp $ * * stuff needed to turn libspu into a xine decoder plugin */ @@ -276,10 +276,11 @@ static void spudec_dispose (spu_decoder_t *this_gen) { /* returns a bool for error/success.*/ static int spudec_get_nav_pci (spu_decoder_t *this_gen, pci_t *pci) { spudec_decoder_t *this = (spudec_decoder_t *) this_gen; - + printf("get_nav_pci() called\n"); if (!this || !pci) return 0; + printf("get_nav_pci() coping nav_pci\n"); pthread_mutex_lock(&this->nav_pci_lock); memcpy(pci, &this->pci, sizeof(pci_t) ); pthread_mutex_unlock(&this->nav_pci_lock); @@ -300,7 +301,7 @@ static spu_decoder_t *open_plugin (spu_decoder_class_t *class_gen, xine_stream_t this->spu_decoder.get_nav_pci = spudec_get_nav_pci; this->stream = stream; this->class = (spudec_class_t *) class_gen; - + this->menu_handle = -1; this->buttonN = 1; this->event.object.overlay = malloc(sizeof(vo_overlay_t)); |