From 468bb66cd404aeaada3cdfb216bb5a2170886815 Mon Sep 17 00:00:00 2001 From: Eduard Hasenleithner Date: Wed, 18 Jul 2001 12:45:31 +0000 Subject: 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 --- src/libspudec/spu_decoder_api.h | 2 ++ src/xine-engine/load_plugins.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3