[gstreamer-bugs] [Bug 608268] flvmux: index timestamps should be in seconds, not milliseconds

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 27 12:02:02 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=608268
  GStreamer | gst-plugins-good | git

Robert Swain <robert.swain> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Robert Swain <robert.swain at gmail.com> 2010-01-27 20:01:59 UTC ---
Sorry for not putting the bug number in the commit message.

Module: gst-plugins-good
Branch: master
Commit: f9bf5970a306940045cd94c9380bb79148775cc9
URL:   
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=f9bf5970a306940045cd94c9380bb79148775cc9

Author: Robert Swain <robert.swain at collabora.co.uk>
Date:   Wed Jan 27 17:53:07 2010 +0100

flvmux: index timestamps should be in seconds, not milliseconds

---

 gst/flv/gstflvmux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c
index e1cb143..2d4b817 100644
--- a/gst/flv/gstflvmux.c
+++ b/gst/flv/gstflvmux.c
@@ -544,7 +544,7 @@ gst_flv_mux_push (GstFlvMux * mux, GstBuffer * buffer)
     GstFlvMuxIndexEntry *entry = g_slice_new (GstFlvMuxIndexEntry);
     entry->position = mux->byte_count;
     entry->time =
-        gst_guint64_to_gdouble (GST_BUFFER_TIMESTAMP (buffer)) / GST_MSECOND;
+        gst_guint64_to_gdouble (GST_BUFFER_TIMESTAMP (buffer)) / GST_SECOND;
     mux->index = g_list_prepend (mux->index, entry);
   }

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list