mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
alsamidisrc: Don't set buffer offset and duration
They are not relly needed for a live source. https://bugzilla.gnome.org/show_bug.cgi?id=787683
This commit is contained in:
parent
3c5aa0a786
commit
b5060f16d9
1 changed files with 0 additions and 2 deletions
|
@ -322,8 +322,6 @@ prepare_buffer (GstAlsaMidiSrc * alsamidisrc, gpointer data, guint size)
|
||||||
|
|
||||||
GST_BUFFER_DTS (buffer) = time;
|
GST_BUFFER_DTS (buffer) = time;
|
||||||
GST_BUFFER_PTS (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);
|
local_data = g_memdup (data, size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue