diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-10-25 00:46:58 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-10-25 00:46:58 +0000 |
commit | a5049f8fa3fe56454a2763d383af2a568c82d964 (patch) | |
tree | 017bf986554075767c72d917bbe8d9273ee2d982 /src/demuxers/demux_qt.c | |
parent | dfed82cc1d1805f1a1f10df88bae0d8549344223 (diff) | |
download | xine-lib-a5049f8fa3fe56454a2763d383af2a568c82d964.tar.gz xine-lib-a5049f8fa3fe56454a2763d383af2a568c82d964.tar.bz2 |
demux api change to report supported mimetypes
CVS patchset: 882
CVS date: 2001/10/25 00:46:58
Diffstat (limited to 'src/demuxers/demux_qt.c')
-rw-r--r-- | src/demuxers/demux_qt.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c index 0380d142b..8e5b3fe78 100644 --- a/src/demuxers/demux_qt.c +++ b/src/demuxers/demux_qt.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_qt.c,v 1.8 2001/10/20 02:01:51 guenter Exp $ + * $Id: demux_qt.c,v 1.9 2001/10/25 00:47:00 miguelfreitas Exp $ * * demultiplexer for quicktime streams, based on: * @@ -4367,6 +4367,11 @@ static char *demux_qt_get_id(void) { return "QUICKTIME"; } +static char *demux_qt_get_mimetypes(void) { + return "video/quicktime: mov,qt: Quicktime animation;" + "video/x-quicktime: mov,qt: Quicktime animation;"; +} + static int demux_qt_get_stream_length (demux_plugin_t *this_gen) { demux_qt_t *this = (demux_qt_t *) this_gen; @@ -4379,7 +4384,7 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { demux_qt_t *this; config_values_t *config; - if (iface != 5) { + if (iface != 6) { printf( "demux_qt: plugin doesn't support plugin API version %d.\n" "demux_qt: this means there's a version mismatch between xine and this " "demux_qt: demuxer plugin.\nInstalling current demux plugins should help.\n", @@ -4399,6 +4404,7 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { this->demux_plugin.get_status = demux_qt_get_status; this->demux_plugin.get_identifier = demux_qt_get_id; this->demux_plugin.get_stream_length = demux_qt_get_stream_length; + this->demux_plugin.get_mimetypes = demux_qt_get_mimetypes; return (demux_plugin_t *) this; } |