From b210af1724838e7f69e297d3577996cdf4ab3f47 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 23 Nov 2013 11:11:55 +0100 Subject: 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. --- src/cmumble.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmumble.h') 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 { -- cgit