diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-01-04 00:23:06 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-01-04 00:23:06 +0000 |
commit | a539aa09c9823358a80f196197709ee238f4f846 (patch) | |
tree | 070d6d3a4465443fc741a440760d8ca6732d5583 /src/libspudec | |
parent | 0beb1f0dc00dc77899abda18b0d61b09f03303f4 (diff) | |
download | xine-lib-a539aa09c9823358a80f196197709ee238f4f846.tar.gz xine-lib-a539aa09c9823358a80f196197709ee238f4f846.tar.bz2 |
NAV packets now reach libspudec.
Nothing done with them yet.
CVS patchset: 1331
CVS date: 2002/01/04 00:23:06
Diffstat (limited to 'src/libspudec')
-rw-r--r-- | src/libspudec/xine_decoder.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c index a75c6b7d5..50e05b0bf 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.46 2002/01/03 23:56:44 jcdutton Exp $ + * $Id: xine_decoder.c,v 1.47 2002/01/04 00:23:06 jcdutton Exp $ * * stuff needed to turn libspu into a xine decoder plugin */ @@ -65,7 +65,7 @@ static clut_t __default_clut[] = { static int spudec_can_handle (spu_decoder_t *this_gen, int buf_type) { int type = buf_type & 0xFFFF0000; - return (type == BUF_SPU_PACKAGE || type == BUF_SPU_CLUT || type == BUF_SPU_SUBP_CONTROL) ; + return (type == BUF_SPU_PACKAGE || type == BUF_SPU_CLUT || type == BUF_SPU_NAV || type == BUF_SPU_SUBP_CONTROL) ; } /* FIXME: This function needs checking */ @@ -252,6 +252,11 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) { } return; } + if (buf->type == BUF_SPU_NAV) { + /* printf("libspudec:got nav packet 1\n"); */ + /* spudec_decode_nav(this,buf); */ + return; + } if (buf->decoder_info[0] == 0) /* skip preview data */ |