summaryrefslogtreecommitdiffstats
path: root/ext/faad/gstfaad.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-10-20 15:08:14 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-10-20 15:08:14 +0000
commita979bd99d1f39ce727f04a3d761be159dc903391 (patch)
tree02578c524e31e125705a4fbb68ee050e8dc5f9f9 /ext/faad/gstfaad.h
parentf7d63a74e07e66b6871a6ae09b6de58ff625dbc6 (diff)
downloadgst-plugins-bad-a979bd99d1f39ce727f04a3d761be159dc903391.tar.gz
gst-plugins-bad-a979bd99d1f39ce727f04a3d761be159dc903391.tar.bz2
gst-plugins-bad-a979bd99d1f39ce727f04a3d761be159dc903391.zip
ext/faad/gstfaad.*: Do some timestamp smoothing (matroskademux apparently sends multiple buffers in a row with the sa...
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_base_init), (gst_faad_class_init), (gst_faad_init), (gst_faad_srcgetcaps), (gst_faad_event), (gst_faad_chain), (gst_faad_change_state): * ext/faad/gstfaad.h: Do some timestamp smoothing (matroskademux apparently sends multiple buffers in a row with the same timestamp); fix duration on outgoing buffers; fix change state function; use GST_DEBUG_FUNCPTR for pad functions.
Diffstat (limited to 'ext/faad/gstfaad.h')
-rw-r--r--ext/faad/gstfaad.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/faad/gstfaad.h b/ext/faad/gstfaad.h
index e9f0a3cb..419ce20d 100644
--- a/ext/faad/gstfaad.h
+++ b/ext/faad/gstfaad.h
@@ -57,7 +57,8 @@ typedef struct _GstFaad {
gboolean need_channel_setup;
gboolean packetised; /* We must differentiate between raw and packetised streams */
- guint64 next_ts; /* timestamp of next buffer */
+ gint64 prev_ts; /* timestamp of previous buffer */
+ gint64 next_ts; /* timestamp of next buffer */
guint64 bytes_in; /* bytes received */
guint64 sum_dur_out; /* sum of durations of decoded buffers we sent out */
} GstFaad;