GNOME Bugzilla – Bug 320308
[matroska] set timestamps for buffers with ebml elements
Last modified: 2005-11-01 09:25:11 UTC
The attached patch causes the matroska muxer to set the timestamp of the outgoing buffers containing ebml elements (i.e. non-data buffers) to the timestamp is taken from the incoming buffers too. So all buffers (except file headers) coming from matroska muxer are timestamped. The benefit is that the elements after matroska muxer can get the timestamp when reading first ebml elements and they do not have to wait for the data buffer.
Created attachment 54125 [details] [review] Timestamps for (almost) all buffers
Thanks, applied with one minor changes (set timestamp to CLOCK_TIME_NONE in gst_ebml_write_reset() as well): 2005-11-01 Josef Zlomek <josef dot zlomek at xeris dot cz> * gst/matroska/ebml-write.c: (gst_ebml_write_new), (gst_ebml_write_reset), (gst_ebml_write_element_new): * gst/matroska/ebml-write.h: * gst/matroska/matroska-mux.c: (gst_matroska_mux_write_data): Set timestamps on outgoing ebml headers as well, so that the element after matroskamux can get the timestamp already when reading the first ebml element and doesn't have to wait for the actual data buffer for that (#320308). Cheers -Tim