diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-24 16:21:18 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-24 16:21:18 +0100 |
commit | da040c2a3529801e9b7c239afb698379ede89087 (patch) | |
tree | 6eba84b0c97ad713678b5810eefd5facc2038c81 /ext/dts/gstdtsdec.h | |
parent | ab1c576ec27f72644da0d69f69cb09dbf79413a7 (diff) | |
download | gst-plugins-bad-da040c2a3529801e9b7c239afb698379ede89087.tar.gz gst-plugins-bad-da040c2a3529801e9b7c239afb698379ede89087.tar.bz2 gst-plugins-bad-da040c2a3529801e9b7c239afb698379ede89087.zip |
dtsdec: Use new DCA functions/constants as not all distros package the compat dts.h
For backward compatibility we define the DCA functions/constants to the
old DTS functions/constants if we're building against libdts.
Diffstat (limited to 'ext/dts/gstdtsdec.h')
-rw-r--r-- | ext/dts/gstdtsdec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/dts/gstdtsdec.h b/ext/dts/gstdtsdec.h index ad91f02c..f0b9e4c0 100644 --- a/ext/dts/gstdtsdec.h +++ b/ext/dts/gstdtsdec.h @@ -58,7 +58,11 @@ struct _GstDtsDec { sample_t bias; gboolean dynamic_range_compression; sample_t *samples; +#ifndef DTS_OLD + dca_state_t *state; +#else dts_state_t *state; +#endif gboolean dvdmode; /* Data left over from the previous buffer */ |