oggdemux misbehaviour when seeking
Submitted by Aleksander Wabik
Link to original bug (#754438)
Description
This code:
gst_init (&argc, &argv);
GstElement* elm = gst_parse_launch(
"souphttpsrc location=http://www.leanbackplayer.com/videos/360p/elephants_dream_640x360_2.30.ogv "
"! decodebin name=db "
"db. ! autovideosink "
"db. ! autoaudiosink ",
NULL);
gst_element_set_state(elm, GST_STATE_PLAYING);
usleep(1000000 * 3);
gst_element_seek_simple(elm, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH|GST_SEEK_FLAG_ACCURATE, 15*GST_SECOND);
usleep(1000000 * 10);
gst_element_set_state(elm, GST_STATE_NULL);
gst_object_unref(elm);
After the seek, the playback stalls, and only the seek destination frame is being shown. If I add queue2 before the decodebin, it still is broken this way on gstreamer 1.4.5, but works on gstreamer 0.10.36 (without the queue, it won't play at all on gstreamer 0.10).
Version: 1.4.5