diff options
author | Eduard Hasenleithner <ehasenle@users.sourceforge.net> | 2001-07-18 12:45:31 +0000 |
---|---|---|
committer | Eduard Hasenleithner <ehasenle@users.sourceforge.net> | 2001-07-18 12:45:31 +0000 |
commit | 468bb66cd404aeaada3cdfb216bb5a2170886815 (patch) | |
tree | 0ee0de0c3b43ee26765ce514b1b2577d2d000a91 | |
parent | f82587d7ca803a0623b35bbc48a88402a71c550e (diff) | |
download | xine-lib-468bb66cd404aeaada3cdfb216bb5a2170886815.tar.gz xine-lib-468bb66cd404aeaada3cdfb216bb5a2170886815.tar.bz2 |
Added the metronom also to the spu decoder struct in order to make
got_spu_packet available to the dxr3 spu decoder.
CVS patchset: 306
CVS date: 2001/07/18 12:45:31
-rw-r--r-- | src/libspudec/spu_decoder_api.h | 2 | ||||
-rw-r--r-- | src/xine-engine/load_plugins.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/libspudec/spu_decoder_api.h b/src/libspudec/spu_decoder_api.h index 4dfd2739a..a1c99f3d5 100644 --- a/src/libspudec/spu_decoder_api.h +++ b/src/libspudec/spu_decoder_api.h @@ -48,6 +48,8 @@ struct spu_decoder_s { char* (*get_identifier) (void); + metronom_t *metronom; + }; diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 268d70051..e9e4816ba 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.30 2001/07/15 10:43:35 guenter Exp $ + * $Id: load_plugins.c,v 1.31 2001/07/18 12:45:31 ehasenle Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -326,6 +326,8 @@ void load_decoder_plugins (xine_t *this, int streamtype; sdp = (spu_decoder_t *) initplug(iface_version, config); + sdp->metronom = this->metronom; + printf("SPU Can Handle ?\n"); for (streamtype = 0; streamtype<256; streamtype++) { if (sdp->can_handle (sdp, (streamtype<<16) | BUF_SPU_BASE)) |