GNOME Bugzilla – Bug 116146
opt scheduler doesn't set event handler on unconnected src pads
Last modified: 2004-12-22 21:47:04 UTC
media-info does metadata querying by using a gnomevfssrc ! decoder pipeline (ie, src pad of decoder not connected) looking at optscheduler, it only sets event funcs on linking, so the event handler never gets set and thus seeking on that pad to a different logical_stream fails.
Created attachment 17843 [details] [review] patch
this patch does default eventhandler setting on element addition, then does it again in link before the switch (to catch pads created after element addition). Please tell me what more to change or whether it is good to commit as is.
people tell me I shouldn't be using the event API because it's for plugins only. So Company says I should use the to-be-created seek API :)
Created attachment 17845 [details] [review] patch without stupid glist lockup
wim, can I get an opinion on this ? Thanks
pinging
commited to 0.6.2.1 and HEAD, closing.