summaryrefslogtreecommitdiffstats
path: root/ext/dts/gstdtsdec.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2005-02-10 06:46:14 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2005-02-10 06:46:14 +0000
commitd7af68b7c8447e1b444e98ca1cb4a5f917a4b5b3 (patch)
tree11091227570e14ec324c395d4f0e9c45c92a5cce /ext/dts/gstdtsdec.h
parent4dd33312feee6770621e7195a8ba94a6d7215be7 (diff)
downloadgst-plugins-bad-d7af68b7c8447e1b444e98ca1cb4a5f917a4b5b3.tar.gz
gst-plugins-bad-d7af68b7c8447e1b444e98ca1cb4a5f917a4b5b3.tar.bz2
gst-plugins-bad-d7af68b7c8447e1b444e98ca1cb4a5f917a4b5b3.zip
ext/dts/gstdtsdec.*: Don't clobber the stack constructing the channels array.
Original commit message from CVS: * ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_channels), (gst_dtsdec_handle_event), (gst_dtsdec_handle_frame), (gst_dtsdec_chain), (gst_dtsdec_change_state): * ext/dts/gstdtsdec.h: Don't clobber the stack constructing the channels array. Make the element chain-based. DTS tracks can now be played.
Diffstat (limited to 'ext/dts/gstdtsdec.h')
-rw-r--r--ext/dts/gstdtsdec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dts/gstdtsdec.h b/ext/dts/gstdtsdec.h
index 86ebec23..04b7f687 100644
--- a/ext/dts/gstdtsdec.h
+++ b/ext/dts/gstdtsdec.h
@@ -61,10 +61,10 @@ struct _GstDtsDec {
sample_t *samples;
dts_state_t *state;
- GstByteStream *bs;
-
+ /* Data left over from the previous buffer */
+ GstBuffer *cache;
+
/* keep track of time */
- GstClockTime last_ts;
GstClockTime current_ts;
};