GNOME Bugzilla – Bug 779064
audiobuffersplit: Add drop-last property
Last modified: 2017-02-22 19:02:18 UTC
See commit message
Created attachment 346435 [details] [review] audiobuffersplit: Add drop-last property If set to TRUE, any last audio samples too small to fill a buffer will be discarded.
Review of attachment 346435 [details] [review]: ::: gst/audiobuffersplit/gstaudiobuffersplit.c @@ +519,3 @@ + gst_adapter_clear (self->adapter); + else + gst_audio_buffer_split_output (self, TRUE); I think it would make sense to call this "strict-buffer-size" or similar, and also do that on discont. So that never ever a buffer with fewer samples is output. If that makes sense at EOS, it also is important in the middle on discont.
Created attachment 346438 [details] [review] audiobuffersplit: Add strict-buffer-size property If set to TRUE, any last audio samples too small to fill a buffer will be discarded.
Attachment 346438 [details] pushed as 668c440 - audiobuffersplit: Add strict-buffer-size property