diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-04 10:18:46 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-04 10:18:46 +0200 |
commit | de03453f6d3e284de1247ada864e45f010d126e4 (patch) | |
tree | 689b4fae295f99118c85a1528420642c7e0b2a19 /ext | |
parent | 4394b1a61c081163ec457d6b7924943c80aa29f4 (diff) | |
download | gst-plugins-bad-de03453f6d3e284de1247ada864e45f010d126e4.tar.gz gst-plugins-bad-de03453f6d3e284de1247ada864e45f010d126e4.tar.bz2 gst-plugins-bad-de03453f6d3e284de1247ada864e45f010d126e4.zip |
spc: Make the SPC plugin work with the latest libgme release
gme_enable_accuracy() was added in SVN trunk and is not yet
in any release.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/spc/gstspc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spc/gstspc.c b/ext/spc/gstspc.c index 3949686c..a66da7d5 100644 --- a/ext/spc/gstspc.c +++ b/ext/spc/gstspc.c @@ -541,9 +541,10 @@ spc_setup (GstSpcDec * spc) return FALSE; } - +#ifdef HAVE_LIBGME_ACCURACY /* TODO: Is it worth it to make this optional? */ gme_enable_accuracy (spc->player, 1); +#endif gme_start_track (spc->player, 0); gst_pad_push_event (spc->srcpad, gst_event_new_new_segment (FALSE, 1.0, |