From d7af68b7c8447e1b444e98ca1cb4a5f917a4b5b3 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 10 Feb 2005 06:46:14 +0000 Subject: 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. --- ext/dts/gstdtsdec.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/dts/gstdtsdec.h') 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; }; -- cgit v1.2.1