From f9bf5970a306940045cd94c9380bb79148775cc9 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Wed, 27 Jan 2010 17:53:07 +0100 Subject: [PATCH] flvmux: index timestamps should be in seconds, not milliseconds --- gst/flv/gstflvmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index e1cb1438b..2d4b81794 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); } -- 2.34.1