oggdemux: do not retry seeking indefinitely

https://bugzilla.gnome.org/show_bug.cgi?id=661897
This commit is contained in:
Vincent Penquerc'h 2011-10-16 11:32:41 +01:00 committed by Tim-Philipp Müller
parent ded27cc61a
commit 26e1c2d628

View 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;
}
}