[Bug 772200] gst_audio_buffer_clip() gsize underrun

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 14 17:39:57 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=772200

--- Comment #7 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
It is essentially a bug on my side. My baseclass created buffers where duration
and size was inconsistent at eof. Not sure how much we want to be forgiving
here.

before the fix:
0:00:39.565873018 21337      0x41a1000 DEBUG             audiosynth
src/lib/gst/audiosynth.c:440:gstbt_audio_synth_create:<simsyn:simsyn>
generate_samples   5512, offset        77175, offset_end        82687 timestamp
0:00:01.750000000, duration 0:00:00.125000000
0:00:39.689102484 21337      0x41a1000 INFO              audiosynth
src/lib/gst/audiosynth.c:377:gstbt_audio_synth_create:<simsyn:simsyn> partial
buffer: 1985
0:00:39.689177367 21337      0x41a1000 DEBUG             audiosynth
src/lib/gst/audiosynth.c:440:gstbt_audio_synth_create:<simsyn:simsyn>
generate_samples   1985, offset        82687, offset_end        84672 timestamp
0:00:01.875000000, duration 0:00:00.125000000
0:00:39.689233702 21337      0x41a1000 DEBUG                  audio
audio.c:108:gst_audio_buffer_clip: timestamp 0:00:01.875000000
0:00:39.689266587 21337      0x41a1000 LOG                    audio
audio.c:169:gst_audio_buffer_clip: clip.stop size = 3970 - 7056
0:00:39.689279606 21337      0x41a1000 WARN                   audio
audio.c:171:gst_audio_buffer_clip:  adjustment=7056 > size 3970
0:00:39.689290727 21337      0x41a1000 DEBUG                  audio
audio.c:242:gst_audio_buffer_clip: trim 0 size 18446744073709548530 osize 3970


after fix:
0:00:15.463033287 29169      0x3364ad0 DEBUG             audiosynth
src/lib/gst/audiosynth.c:443:gstbt_audio_synth_create:<simsyn:simsyn>
generate_samples   5512, offset        77175, offset_end        82687 timestamp
0:00:01.750000000, duration 0:00:00.125000000
0:00:15.586788512 29169      0x3364ad0 INFO              audiosynth
src/lib/gst/audiosynth.c:377:gstbt_audio_synth_create:<simsyn:simsyn> partial
buffer: 1985
0:00:15.586884460 29169      0x3364ad0 DEBUG             audiosynth
src/lib/gst/audiosynth.c:443:gstbt_audio_synth_create:<simsyn:simsyn>
generate_samples   1985, offset        82687, offset_end        84672 timestamp
0:00: 01.875000000, duration 0:00:00.000000000
0:00:15.712021425 29169      0x3364ad0 WARN              audiosynth
src/lib/gst/audiosynth.c:338:gstbt_audio_synth_create:<simsyn:simsyn> EOS
reached

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list