summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Swain <robert.swain@collabora.co.uk>2010-01-27 17:53:07 +0100
committerRobert Swain <robert.swain@collabora.co.uk>2010-01-27 20:24:41 +0100
commitf9bf5970a306940045cd94c9380bb79148775cc9 (patch)
treee70623e01b816bafabf617adcfc8cb8f54a583a1
parent77509c80c99b5f614473d09ef68bfa3ce2a08f62 (diff)
flvmux: index timestamps should be in seconds, not milliseconds
-rw-r--r--gst/flv/gstflvmux.c2
1 files changed, 1 insertions, 1 deletions
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);
}