diff options
Diffstat (limited to 'src/demuxers/demux_snd.c')
-rw-r--r-- | src/demuxers/demux_snd.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/demuxers/demux_snd.c b/src/demuxers/demux_snd.c index 90a4fd961..f08cdf70f 100644 --- a/src/demuxers/demux_snd.c +++ b/src/demuxers/demux_snd.c @@ -19,7 +19,7 @@ * * SND/AU File Demuxer by Mike Melanson (melanson@pcisys.net) * - * $Id: demux_snd.c,v 1.18 2002/11/20 11:57:41 mroi Exp $ + * $Id: demux_snd.c,v 1.19 2002/11/28 10:21:07 petli Exp $ * */ @@ -305,6 +305,15 @@ static int demux_snd_get_stream_length (demux_plugin_t *this_gen) { return this->running_time; } +static uint32_t demux_snd_get_capabilities(demux_plugin_t *this_gen) { + return DEMUX_CAP_NOCAP; +} + +static int demux_snd_get_optional_data(demux_plugin_t *this_gen, + void *data, int data_type) { + return DEMUX_OPTIONAL_UNSUPPORTED; +} + static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *stream, input_plugin_t *input_gen) { @@ -328,6 +337,8 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str this->demux_plugin.get_stream_length = demux_snd_get_stream_length; this->demux_plugin.get_video_frame = NULL; this->demux_plugin.got_video_frame_cb= NULL; + this->demux_plugin.get_capabilities = demux_snd_get_capabilities; + this->demux_plugin.get_optional_data = demux_snd_get_optional_data; this->demux_plugin.demux_class = class_gen; this->status = DEMUX_FINISHED; @@ -440,6 +451,6 @@ static void *init_plugin (xine_t *xine, void *data) { plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_DEMUX, 17, "snd", XINE_VERSION_CODE, NULL, init_plugin }, + { PLUGIN_DEMUX, 18, "snd", XINE_VERSION_CODE, NULL, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |