GNOME Bugzilla – Bug 326299
totem mozilla plugin doesn't play asf
Last modified: 2006-01-30 13:46:19 UTC
Most asf files crash in the first second. Reason is mixup in bytestream for blocksize flushing because fdsrc doesn't implement query; attached patch adds query to fdsrc and also adds a workaround to asfdemux in case other sources have the same issue.
Created attachment 57030 [details] [review] add query to fdsrc
Created attachment 57032 [details] [review] protecting if for asfdemux
Patches look good. 0.10 fdsrc should handle queries properly because of basesrc. asfdemux will be rewritten to use getrange anyway so that fix doesn't apply to 0.10 either.
Slightly off-topic, but actually my (almost-ready-but-still-vapourware) gst-0.10 port of asfdemux is chain-based as well so far (with all memory-reads being protected by a size check though), otherwise it wouldn't work with network streams, would it? Adding a getrange() mode in addition should be fairly easy though. Ronald, any reason you're not committing your fixes directly to the 0.8 branch? :-)
Applied to 0.8 CVS.