sys/oss/gstosssink.c: get_delay() may return values lower than 0. In those cases...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sun, 7 Mar 2004 02:09:45 +0000 (02:09 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sun, 7 Mar 2004 02:09:45 +0000 (02:09 +0000)
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_osssink_get_delay),
(gst_osssink_get_time):
get_delay() may return values lower than 0. In those cases, we
should not actually cast to *unsigned* int64, that will break
stuff horribly. In my case, it screwed up A/V sync in movies
in totem rather badly.

ChangeLog

index 9e1a5c6..3663c1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-03-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>
+
+       * sys/oss/gstosssink.c: (gst_osssink_get_delay),
+       (gst_osssink_get_time):
+         get_delay() may return values lower than 0. In those cases, we
+         should not actually cast to *unsigned* int64, that will break
+         stuff horribly. In my case, it screwed up A/V sync in movies
+         in totem rather badly.
+
 2004-03-06  Christophe Fergeau  <teuf@gnome.org>
 
        * ext/faac/gstfaac.c: (gst_faac_chain):