projects
/
gst-aseq-appsrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5faa039
)
Don't set buffer offset and duration
author
Antonio Ospite <ao2@ao2.it>
Mon, 2 Oct 2017 08:27:05 +0000
(10:27 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Tue, 3 Oct 2017 11:40:46 +0000
(13:40 +0200)
They are not relly needed for a live source in pull mode
gst-aseq-appsrc.c
patch
|
blob
|
history
diff --git
a/gst-aseq-appsrc.c
b/gst-aseq-appsrc.c
index
7307ade
..
506409e
100644
(file)
--- 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_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);
local_data = g_memdup (data, size);