oggdemux: ignore the skeleton start time
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 6 May 2010 10:21:38 +0000 (12:21 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 6 May 2010 10:21:38 +0000 (12:21 +0200)
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

index de8bc8f..e41d04f 100644 (file)
@@ -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,