From e33425e4d0697a88138c361aadd2cb6162678a67 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 6 May 2010 12:21:38 +0200 Subject: [PATCH] oggdemux: ignore the skeleton start time Ignore the skeleton start time as it is usually wrong for live streams and we have the needed logic to calculate it anyway. --- ext/ogg/gstoggdemux.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index de8bc8f..e41d04f 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -724,9 +724,11 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet) if (skel_pad) { switch (type) { case GST_OGG_SKELETON_FISBONE: - /* parse the remainder of the fisbone in the pad with the serialno */ + /* parse the remainder of the fisbone in the pad with the serialno, + * note that we ignore the start_time as this is usually wrong for + * live streams */ gst_ogg_map_add_fisbone (&skel_pad->map, packet->packet, - packet->bytes, &skel_pad->start_time); + packet->bytes, NULL); break; case GST_OGG_SKELETON_INDEX: gst_ogg_map_add_index (&skel_pad->map, packet->packet, -- 2.7.4