gst/matroska/ebml-read.c: Use GINT64 formatting constants from GLIB.
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 3 Mar 2008 22:01:56 +0000 (22:01 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 3 Mar 2008 22:01:56 +0000 (22:01 +0000)
commitedda3b6c0f721bb2085de7e76abf761b3f691326
tree30596ea2654c056f48c619492bce176294f0705b
parentb7938d24ee5c45fcf17b9987bb88f698430c529e
gst/matroska/ebml-read.c: Use GINT64 formatting constants from GLIB.

Original commit message from CVS:
* gst/matroska/ebml-read.c:
Use GINT64 formatting constants from GLIB.
* gst/matroska/matroska-demux.c:
Add some guards to avoid a possible division by 0 and crashing
with NULL events on some systems.
Use gst_gdouble_to_guint64 somewhere instead of an implicit
conversion.
* gst/matroska/matroska-mux.c:
Check for invalid timestamps in a bunch of places to avoid
writing bogus durations into the output file.
Fix some double<->gint64 conversions that weren't using
gst_guint64_to_gdouble
ChangeLog
common
gst/matroska/ebml-read.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c