diff options
Diffstat (limited to 'src/demuxers/demux_mpeg_block.c')
-rw-r--r-- | src/demuxers/demux_mpeg_block.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c index 9e30a0187..5b051cca1 100644 --- a/src/demuxers/demux_mpeg_block.c +++ b/src/demuxers/demux_mpeg_block.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_mpeg_block.c,v 1.145 2002/11/20 11:57:40 mroi Exp $ + * $Id: demux_mpeg_block.c,v 1.146 2002/11/28 10:21:06 petli Exp $ * * demultiplexer for mpeg 1/2 program streams * @@ -965,6 +965,14 @@ static int demux_mpeg_block_get_video_frame (demux_plugin_t *this_gen, return 0; } +static uint32_t demux_mpeg_block_get_capabilities(demux_plugin_t *this_gen) { + return DEMUX_CAP_NOCAP; +} + +static int demux_mpeg_block_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) { @@ -990,6 +998,8 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str this->demux_plugin.get_stream_length = demux_mpeg_block_get_stream_length; this->demux_plugin.get_video_frame = demux_mpeg_block_get_video_frame; this->demux_plugin.got_video_frame_cb= NULL; + this->demux_plugin.get_capabilities = demux_mpeg_block_get_capabilities; + this->demux_plugin.get_optional_data = demux_mpeg_block_get_optional_data; this->demux_plugin.demux_class = class_gen; this->scratch = xine_xmalloc_aligned (512, 4096, (void**) &this->scratch_base); @@ -1168,6 +1178,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, "mpeg_block", XINE_VERSION_CODE, NULL, init_plugin }, + { PLUGIN_DEMUX, 18, "mpeg_block", XINE_VERSION_CODE, NULL, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |