From: Antonio Ospite Date: Mon, 2 Oct 2017 08:27:05 +0000 (+0200) Subject: Don't set buffer offset and duration X-Git-Url: https://git.ao2.it/gst-aseq-appsrc.git/commitdiff_plain/2afa5b9c77d328add374a98e6b93452b5c2d4c4c?ds=inline Don't set buffer offset and duration They are not relly needed for a live source in pull mode --- diff --git a/gst-aseq-appsrc.c b/gst-aseq-appsrc.c index 7307ade..506409e 100644 --- a/gst-aseq-appsrc.c +++ b/gst-aseq-appsrc.c @@ -188,8 +188,6 @@ push_buffer (App * app, gpointer data, guint size) GST_BUFFER_DTS (buffer) = time; GST_BUFFER_PTS (buffer) = time; - GST_BUFFER_OFFSET (buffer) = time; - GST_BUFFER_DURATION (buffer) = DEFAULT_TICK_PERIOD_MS * GST_MSECOND; local_data = g_memdup (data, size);