diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-10-09 09:21:44 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-10-09 09:21:44 +0000 |
commit | 815d2620ace9b289bebd163cfe84727836432f11 (patch) | |
tree | e77e2dec40c72cf35b690c199fdb819437f1fa61 /ext/amrwb/gstamrwbparse.h | |
parent | 93350550688344d76d9f438a976980fb0dc3d6d7 (diff) | |
download | gst-plugins-bad-815d2620ace9b289bebd163cfe84727836432f11.tar.gz gst-plugins-bad-815d2620ace9b289bebd163cfe84727836432f11.tar.bz2 gst-plugins-bad-815d2620ace9b289bebd163cfe84727836432f11.zip |
ext/amrwb/gstamrwbparse.*: Add flush seek handler. Taken from recent armnbparse changes.
Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c:
* ext/amrwb/gstamrwbparse.h:
Add flush seek handler. Taken from recent armnbparse changes.
Sync the code more and use #defines for HEADER.
Diffstat (limited to 'ext/amrwb/gstamrwbparse.h')
-rw-r--r-- | ext/amrwb/gstamrwbparse.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/amrwb/gstamrwbparse.h b/ext/amrwb/gstamrwbparse.h index 06ec1d50..6cbe7b74 100644 --- a/ext/amrwb/gstamrwbparse.h +++ b/ext/amrwb/gstamrwbparse.h @@ -42,6 +42,9 @@ G_BEGIN_DECLS typedef struct _GstAmrwbParse GstAmrwbParse; typedef struct _GstAmrwbParseClass GstAmrwbParseClass; +typedef gboolean (*GstAmrwbSeekHandler) (GstAmrwbParse * amrwbparse, GstPad * pad, + GstEvent * event); + struct _GstAmrwbParse { GstElement element; @@ -54,8 +57,13 @@ struct _GstAmrwbParse { gboolean need_header; gint64 offset; gint block; + + GstAmrwbSeekHandler seek_handler; guint64 ts; + + /* for seeking etc */ + GstSegment segment; }; struct _GstAmrwbParseClass { |