To follow up with some info on my message, here's the bit where it
segfaults
if (gst_plugin_feature_ensure_loaded (GST_PLUGIN_FEATURE (factory))) {
if (factory->typefindfunc) {
GstCaps *res = factory->typefindfunc (buffer, factory);
the segfault is because of an endless recursion into typefindfunc.
My guess is that factory->typefindfunc was earlier initialized with the
_dummy typefind. I'm not sure what the easiest way to check against this
is though.
If someone tells me what the behaviour should be in this case, I'll look
into it.
Thomas
--
The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
all I want is happiness
happiness
if you find it share it
with the rest of us
<-*- thomas (at) apestaart (dot) org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/

Hi,
Over the last two weeks I've had some apps segfault with a *huge*
stacktrace of type_find_dummy's in gstxmlregistry.c
The offending type is video/fli, and as far as I can make out there is no
typefind function registered from any of the plug-ins.
So my question is - is it possible that we don't check for the case where
a mime type is registered but there is no typefinder for it ?
Where should I start looking into fixing this ?
Thomas
--
The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
See how I vigorously don't care
<-*- thomas (at) apestaart (dot) org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/

* Sudheer Parameswaran <sudheerp@...> [20021202 01:39]:
> I am not able to compile the mpeg2dec plugin with the newly released
> libmpeg2 0.3.0 version. Looks like libmpeg2 has changed some of their
> interface ( like mpeg2_init etc).
> Is anybody has tried mpeg2dec plugin with libmpeg2 0.3.0 ? If any fix
> is available for mpeg2dec plugin ?
>
Use the gst-plugins/ext/mpeg2dec/gstmpeg2deccvs.[ch] code.
-dave