GNOME Bugzilla – Bug 374760
[PATCH] last buffer sent by lame may not have (valid) timestamp
Last modified: 2006-11-14 10:29:53 UTC
When receiving eos, lame plugin flushes lame encoder buffer. This data is sent out with minimal decoration of buffer (e.g. no timestamp). This can be tricky for elements looking at this or even recording a timestamp, e.g. a matroskamux (and as well when it is then read in again some other time).
Created attachment 76496 [details] [review] Possible patch. Make lame timestamp flushed eos buffer by some additional timestamp accounting.
* ext/lame/gstlame.c: (gst_lame_sink_event), (gst_lame_chain), (gst_lame_change_state): * ext/lame/gstlame.h: Make lame timestamp flushed eos buffer by some additional timestamp accounting. Fixes #374760.