GNOME Bugzilla – Bug 595904
gnlfilesource unable to seek: "Sending seek event failed!"
Last modified: 2010-11-01 18:24:11 UTC
Created attachment 143653 [details] txt file containing both relevant log snippets If I import a file into Pitivi, it's able to play it, even if cut into pieces. But if I try to even play a file using a gnlfilesource in some of my code, I get: gnlcomposition.c:1719:no_more_pads_object_cb:<gnlcomposition0> Sending seek event failed! Though I'm still digesting them, the attached logs make me think this isn't a bug with the h264 decoder but with gnonlin itself.
Created attachment 143654 [details] [review] Full disclosure - I have this patch applied to my gnonlin This patch 1. forces gnlfilesource not to use uridecodebin (I was trying to rule it out as the problem) 2. fixes a Critical warning about calling control_element twice (already filed in a separate bug) 3. Fixes "Couldn't set Async pad blocking" error when the pad is already blocked (docs say the func will return false in that case) Maybe this bug is related to needing (3) in the first place.
Which version of gnonlin are you using ? current git now only uses uridecodebin.
I was using b478055dafff633e1a8f0cb6db1e3b7ffe2d682a - I will test again w/ latest
Created attachment 143709 [details] Log using gnlfilesource This is with the latest git with no patch applied. Looks the same as the previous gnlfilesource log to me.
Created attachment 143717 [details] Tgz with code in question If you have gstreamer-sharp built and copy the gstreamer-sharp.dll* files to this directory, "make" should work.
I think this issue was fixed with commit 94127891402a16382eb4242f354f681af6934705 Author: Edward Hervey <bilboed@bilboed.com> Date: Fri Mar 19 12:13:07 2010 +0100 GnlSource: Handle multiple pad_blocked calls. The pad blocked handler can be called by multiple threads, we therefore need to make sure we only start the ghost_seek_pad handler once. Gabriel, can you confirm it's fixed in git head ?
Gabriel, Ping.
Please feel free to reopen the bug if the problem still occurs with a newer version of Gstreamer.