On Mon, 2007-11-12 at 20:09 +0100, Leszek Matok wrote:
Dnia 2007-11-12, o godz. 11:07:28 Matthias Clasen
<mclasen(a)redhat.com>
napisaĆ(a):
> a) editor vs viewer
True.
> b) inherited capabilities, ie totem can display any format gstreamer can
> handle, which in turn depends on installed plugins
Right now Totem claims to be able to play any multimedia files even though it
really can't (because by default plugins for the most prominent formats like
DVD aren't installed). The solution here is to switch
DVD support isn't advertised anywhere in the mime-types.
MimeType=(...)
into
MimeTypeDir=/usr/lib/gstreamer-x.xx/mime.types.d
and let plugins put appropriate files there (also, make the rpm macro
understand the new flag). This way Nautilus (or rather some helper app) would
know (from rpmdb or better, yum's cache), which package you have to install to
be able to play a file in Totem (or any gstreamer application using my
MimeTypeDir).
That fixes the problem for container formats, but not codecs, which
might or might not be supported by the installation. An example is the
default Fedora installation that can handle AVI and MKV files properly,
but can't play the MPEG-4 video or MP3 audio used in most of those.