oggdemux: do not retry seeking indefinitely
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Sun, 16 Oct 2011 10:32:41 +0000 (11:32 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 17 Oct 2011 09:51:19 +0000 (10:51 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=661897

ext/ogg/gstoggdemux.c

index c883d12733945b46502011184148de5fdb501b1a..3a880d48d54e83cf9d83a6ce3a318094872e13f2 100644 (file)
@@ -3098,6 +3098,7 @@ gst_ogg_demux_get_duration_push (GstOggDemux * ogg, int flags)
   } else {
     GST_INFO_OBJECT (ogg, "Seek failed, duration will stay unknown");
     ogg->push_state = PUSH_PLAYING;
+    ogg->push_disable_seeking = TRUE;
     return FALSE;
   }
 }