projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5aa0a
)
alsamidisrc: Don't set buffer offset and duration
author
Antonio Ospite
<ao2@ao2.it>
Wed, 4 Oct 2017 17:46:55 +0000
(19:46 +0200)
committer
Nicolas Dufresne
<nicolas.dufresne@collabora.com>
Thu, 30 Nov 2017 02:13:38 +0000
(21:13 -0500)
They are not relly needed for a live source.
https://bugzilla.gnome.org/show_bug.cgi?id=787683
ext/alsa/gstalsamidisrc.c
patch
|
blob
|
history
diff --git
a/ext/alsa/gstalsamidisrc.c
b/ext/alsa/gstalsamidisrc.c
index
31227c8
..
1538c8b
100644
(file)
--- a/
ext/alsa/gstalsamidisrc.c
+++ b/
ext/alsa/gstalsamidisrc.c
@@
-322,8
+322,6
@@
prepare_buffer (GstAlsaMidiSrc * alsamidisrc, gpointer data, guint size)
GST_BUFFER_DTS (buffer) = time;
GST_BUFFER_PTS (buffer) = time;
- GST_BUFFER_OFFSET (buffer) = time;
- GST_BUFFER_DURATION (buffer) = MIDI_TICK_PERIOD_MS * GST_MSECOND;
local_data = g_memdup (data, size);