diff options
author | Kelvie Wong <kelvie@ieee.org> | 2009-12-05 19:12:21 +0000 |
---|---|---|
committer | Kelvie Wong <kelvie@ieee.org> | 2009-12-05 19:12:21 +0000 |
commit | f9ea010689310758463cc071e42f743553d17edf (patch) | |
tree | b54cb3a5748b407b6393cc5356e8da3fc3039c98 /src | |
parent | 605f33efdd3852f0f09bcaac3e2b25cea6e6c808 (diff) | |
download | xine-lib-f9ea010689310758463cc071e42f743553d17edf.tar.gz xine-lib-f9ea010689310758463cc071e42f743553d17edf.tar.bz2 |
Add mimetypes for the TTA demuxer
I've noticed that a lot of the demuxers don't have mimetypes -- Nokia and
KDE's Phonon (when using the Xine backend, and consequently this bothers all
Amarok users) depend on the mimetypes to see what types of files it can
process.
This adds support for the True Audio data type, which scratches my itch; I'm
sure there are several other demuxers that need a similar change.
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_tta.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_tta.c b/src/demuxers/demux_tta.c index 9edad08bd..2626ca8e8 100644 --- a/src/demuxers/demux_tta.c +++ b/src/demuxers/demux_tta.c @@ -303,7 +303,8 @@ static const char *get_extensions (demux_class_t *this_gen) { } static const char *get_mimetypes (demux_class_t *this_gen) { - return NULL; + return "audio/x-tta: tta: True Audio;" + "audio/tta: tta: True Audio;"; } static void class_dispose (demux_class_t *this_gen) { |