Created attachment 5053
Add another GtkMessageType (GTK_MESSAGE_WARNING) under FreeBSD
Under FreeBSD, we don't have helper to install additional GStreamer plugins. That's why in GtkMessageDialog, "Install" button fails.
Patch displays GTK_MESSAGE_WARNING (users informed that plugin is missing).
Tested successfully with 0.4.0, 0.5.0 and 0.5.1
This is a great patch! I have incorporated it into git master. Thank you!
(In reply to comment #1)
> This is a great patch! I have incorporated it into git master. Thank you!
Does this mean *noone* can provide helpers under FreeBSD?
The patch looks wrong by itself, it breaks build on anything !linux or !freebsd, and even there, if someone running a FreeBSD kernel did manually set helpers for gstreamer, he won't be able to use them.
Using __freebsd__ looks wrong to me here. The perfect way would be to be able to ask gstreamer if it had configured helpers available, but I don't know if there's a way to do that.
Another way would be to just use a compile-time option, so people having gstreamer installed (or distro maintainers) could select the one fitting their system.