diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-23 11:11:55 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-12-04 12:31:50 +0100 |
commit | b210af1724838e7f69e297d3577996cdf4ab3f47 (patch) | |
tree | dba985a8f385b618ddc85e2fccc34d1011edd60d /src/cmumble.h | |
parent | 17b574653fe3c0ff9973b2d2688f81ee30855389 (diff) | |
download | cmumble-b210af1724838e7f69e297d3577996cdf4ab3f47.tar.gz cmumble-b210af1724838e7f69e297d3577996cdf4ab3f47.tar.bz2 cmumble-b210af1724838e7f69e297d3577996cdf4ab3f47.zip |
Timestamp playback buffers with appropriate flags
* GST_BUFFER_FLAG_DISCONT helps to play immediately after a pause
(i.e. no talking)
TODO: Not sure GST_BUFFER_FLAG_RESYNC does really help, but
from the decoumentation it does what we want.
Diffstat (limited to 'src/cmumble.h')
-rw-r--r-- | src/cmumble.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmumble.h b/src/cmumble.h index b796d50..3997c8a 100644 --- a/src/cmumble.h +++ b/src/cmumble.h @@ -47,6 +47,9 @@ struct cmumble_user { GstElement *pipeline; GstAppSrc *src; + + gint64 last_sequence; + guint64 last_time_end; }; struct cmumble_channel { |