diff options
author | Edward Hervey <bilboed@bilboed.com> | 2008-08-29 11:36:41 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2008-08-29 11:36:41 +0000 |
commit | 6bcf03574e4a49b01894046b4db25a34272bb561 (patch) | |
tree | 6da99b3e9f9206012fefb1f02000286c15326a3e /ext/faac/gstfaac.h | |
parent | ba10061a5a679a17765a6546160311642d696b71 (diff) | |
download | gst-plugins-bad-6bcf03574e4a49b01894046b4db25a34272bb561.tar.gz gst-plugins-bad-6bcf03574e4a49b01894046b4db25a34272bb561.tar.bz2 gst-plugins-bad-6bcf03574e4a49b01894046b4db25a34272bb561.zip |
ext/faac/gstfaac.*: Add code for calculating proper timestamp/duration for the trailing encoded buffers that faac wil...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_init), (gst_faac_sink_event),
(gst_faac_chain), (gst_faac_change_state):
* ext/faac/gstfaac.h:
Add code for calculating proper timestamp/duration for the trailing
encoded buffers that faac will output when receiving EOS.
Diffstat (limited to 'ext/faac/gstfaac.h')
-rw-r--r-- | ext/faac/gstfaac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/faac/gstfaac.h b/ext/faac/gstfaac.h index d69d4d4c..88a3e34b 100644 --- a/ext/faac/gstfaac.h +++ b/ext/faac/gstfaac.h @@ -62,6 +62,9 @@ typedef struct _GstFaac { /* cache of the input */ GstBuffer *cache; guint64 cache_time, cache_duration; + + /* Expected timestamp of the next buffer to output */ + GstClockTime next_ts; } GstFaac; typedef struct _GstFaacClass { |