From 0767ed33515803ccf81c760bc7d21bda8ab1d417 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Sat, 2 Aug 2008 17:47:32 +0000 Subject: gst/matroska/matroska-mux.c: Add locking to the global array of used track UIDs to prevent random crashes if more tha... Original commit message from CVS: * gst/matroska/matroska-mux.c: (gst_matroska_mux_create_uid), (gst_matroska_mux_reset), (gst_matroska_mux_start): Add locking to the global array of used track UIDs to prevent random crashes if more than a single matrosmux instance is used. Use 64 bit values for the track UIDs. Use the global GRandom of GLib instead of creating our own one for the few random numbers we need every single time. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2abd6904..85698bcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2008-08-02 Sebastian Dröge + + * gst/matroska/matroska-mux.c: (gst_matroska_mux_create_uid), + (gst_matroska_mux_reset), (gst_matroska_mux_start): + Add locking to the global array of used track UIDs to prevent random + crashes if more than a single matrosmux instance is used. + + Use 64 bit values for the track UIDs. + + Use the global GRandom of GLib instead of creating our own one + for the few random numbers we need every single time. + 2008-08-02 Sebastian Dröge * ext/flac/gstflacdec.c: (gst_flac_dec_setup_seekable_decoder), -- cgit