diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 19:04:47 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 19:04:47 +0100 |
commit | bebea7e1e218eed9e72dac3c7c2934f16c96f4a4 (patch) | |
tree | 71f2cb804b77ac246d3d166d358b01154d12622e /src/demuxers/demux_mpeg_pes.c | |
parent | f7cbfdf9575df64a5ba6f594912ae18c45a1058e (diff) | |
download | xine-lib-bebea7e1e218eed9e72dac3c7c2934f16c96f4a4.tar.gz xine-lib-bebea7e1e218eed9e72dac3c7c2934f16c96f4a4.tar.bz2 |
Transform get_extensions and get_mimetypes into strings.
Please note that this commit temporarily breaks building.
Diffstat (limited to 'src/demuxers/demux_mpeg_pes.c')
-rw-r--r-- | src/demuxers/demux_mpeg_pes.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/demuxers/demux_mpeg_pes.c b/src/demuxers/demux_mpeg_pes.c index 0b2b28312..acb57586f 100644 --- a/src/demuxers/demux_mpeg_pes.c +++ b/src/demuxers/demux_mpeg_pes.c @@ -1760,14 +1760,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str return &this->demux_plugin; } -static const char *get_extensions (demux_class_t *this_gen) { - return "pes"; -} - -static const char *get_mimetypes (demux_class_t *this_gen) { - return NULL; -} - static void *init_plugin (xine_t *xine, void *data) { demux_mpeg_pes_class_t *this; @@ -1778,8 +1770,8 @@ static void *init_plugin (xine_t *xine, void *data) { this->demux_class.open_plugin = open_plugin; this->demux_class.description = N_("mpeg pes demux plugin"); this->demux_class.identifier = "MPEG_PES"; - this->demux_class.get_mimetypes = get_mimetypes; - this->demux_class.get_extensions = get_extensions; + this->demux_class.mimetypes = NULL; + this->demux_class.extensions = "pes"; this->demux_class.dispose = default_demux_class_dispose; return this; |