gstasfdemux: Certain ASF videos causing flushing seek to fail.
I was debugging a issue in my media-foundation -> gstreamer interface, where some videos would no longer successfully play. After looking into the issue, it seemed that the issue arose when I added code performing a flushing seek on the pipeline. What happens is, after the seek, the gstreamer bin never completes the state change to PAUSED again.
This only happens on some ASF files, and can be reproduced in gst123
application by using the arrow keys to perform a seek. With video 1, the seek is successfully performed, and with video 2, gst123
cuts to a black screen and presumably eternally blocks on gst_element_get_state.
I recorded the logs with GST_DEBUG="7" gst123 (video) 2> log
, attempting a backwards seek with both of them after ~0.5 seconds of playback.