GNOME Bugzilla – Bug 163383
[PATCH] ogm plugins won't register
Last modified: 2005-01-09 13:33:10 UTC
When I drop a ogm in the totem window I only hear the sound and the folowing printed in the console. ** (totem:31649): WARNING **: don't know how to handle application/x-ogm-video ** (totem:31649): WARNING **: don't know how to handle application/octet-stream ** (totem:31649): WARNING **: don't know how to handle application/octet-stream ** (totem:31649): WARNING **: unknown stream found ** (totem:31649): WARNING **: two audio streams found, playing first one ** (totem:31649): WARNING **: unknown stream found ** (totem:31649): WARNING **: unknown stream found When I drop the video again in the totem window. The video works again. ** (totem:31649): WARNING **: don't know how to handle application/octet-stream ** (totem:31649): WARNING **: don't know how to handle application/octet-stream ** (totem:31649): WARNING **: two audio streams found, playing first one ** (totem:31649): WARNING **: unknown stream found ** (totem:31649): WARNING **: unknown stream found Gstreamer version 0.8.8 Gstreamer-plugins version 0.8.7 Totem version 0.100
can you give us the result of those two commands ? (as root) gst-register-0.8 | grep ogg gst-inspect-0.8 | grep "^ogg:" and tell us which arch/distro you use too
i386 FreeBSD 5.3-stable root@heater:~# gst-register-0.8 | grep ogg Added plugin ogg with 2 features. root@heater:~# gst-inspect-0.8 | grep "^ogg:" ogg: oggdemux: ogg demuxer ogg: oggmux: ogg muxer
hum, that means that the ogm elements can't register (it first registers oggdemux and oggmux and fails to register ogm[audio/video]parse i had that problem and did a fix that i commited before the 0.8.7 plugin release, but i suppose it was not enought 2004-12-26 Stephane Loeuillet <stephane.loeuillet@tiscali.fr> * ext/ogg/gstogg.c: * ext/ogg/gstogmparse.c: fix ogm[audio/video]parse plugin registration (riff won't load if bytestream is already loaded) perhaps gst-lib loading works differently on FreeBSD, i'll try to find a fix shortly
Created attachment 35723 [details] [review] patch plugin loading func to not fail if plugin was already loaded please try this patch against gstreamer 0.8.8 (core, not plugins) then, once compiled and installed, redo the 2 commands written before (register and inspect)
if it doesn't help, please also apply the patch from bug #163234 (plugin loading thread safety)
After recompiling with the patch in #4, it works I would say. root@heater:/usr/ports/multimedia/gstreamer# gst-register-0.8 | grep ogg Added plugin ogg with 4 features. root@heater:/usr/ports/multimedia/gstreamer# gst-inspect-0.8 | grep "^ogg" ogg: oggdemux: ogg demuxer ogg: oggmux: ogg muxer ogg: ogmaudioparse: OGM audio stream parser ogg: ogmvideoparse: OGM video stream parser
ok, and does it work now in totem ? (on first run ?, second run ?)
It work right on the first try.