diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-06-02 10:18:25 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-06-02 10:18:25 +0000 |
commit | eea50a9a8552c97d92479b6a3a469d9c5b4d81d0 (patch) | |
tree | e087504c501069b53df669b950f742b3d57f74fd /ext/faad/gstfaad.h | |
parent | d0d99f937b45a655d3112bf75b60719557a4fa1c (diff) | |
download | gstreamer-plugins-bad-eea50a9a8552c97d92479b6a3a469d9c5b4d81d0.tar.gz |
ext/faad/gstfaad.*: Add basic reverse playback support.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_dispose), (clear_queued),
(flush_queued), (gst_faad_drain), (gst_faad_do_raw_seek),
(gst_faad_src_event), (gst_faad_sink_event), (gst_faad_chain),
(gst_faad_change_state):
* ext/faad/gstfaad.h:
Add basic reverse playback support.
Clear decoder state after disconts.
Remove some unused code.
Mark output buffers with a discont after a decoding error.
Diffstat (limited to 'ext/faad/gstfaad.h')
-rw-r--r-- | ext/faad/gstfaad.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/faad/gstfaad.h b/ext/faad/gstfaad.h index 7c20a01f4..fd989b6b7 100644 --- a/ext/faad/gstfaad.h +++ b/ext/faad/gstfaad.h @@ -68,9 +68,16 @@ typedef struct _GstFaad { guint64 bytes_in; /* bytes received */ guint64 sum_dur_out; /* sum of durations of decoded buffers we sent out */ gint error_count; + gboolean discont; /* segment handling */ GstSegment * segment; + + /* list of raw output buffers for reverse playback */ + GList *queued; + /* gather/decode queues for reverse playback */ + GList *gather; + GList *decode; } GstFaad; typedef struct _GstFaadClass { |