diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_plugin.h | 3 | ||||
-rw-r--r-- | src/xine-engine/load_plugins.c | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 53dfb563d..902752447 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -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: input_plugin.h,v 1.26 2002/07/05 17:32:02 mroi Exp $ + * $Id: input_plugin.h,v 1.27 2002/07/17 21:23:57 f1rmb Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -294,6 +294,7 @@ struct input_plugin_s #define INPUT_CAP_SPULANG 0x00000080 #define INPUT_CAP_VARIABLE_BITRATE 0x00000100 #define INPUT_CAP_PREVIEW 0x00000200 /* Requires INPUT_CAP_SEEKABLE */ +#define INPUT_CAP_CHAPTERS 0x00000400 #define INPUT_OPTIONAL_UNSUPPORTED 0 diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 8d6c1ad5b..6a66d0133 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.79 2002/07/13 19:01:16 f1rmb Exp $ + * $Id: load_plugins.c,v 1.80 2002/07/17 21:23:57 f1rmb Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -403,6 +403,14 @@ char *xine_get_input_plugin_description(xine_t *this, char *plugin_id) { return NULL; } +uint32_t xine_get_input_plugin_capabilities(xine_t *this) { + + if (this && this->cur_input_plugin && this->cur_input_plugin->get_capabilities) + return this->cur_input_plugin->get_capabilities(this->cur_input_plugin); + + return INPUT_CAP_NOCAP; +} + /** *************************************************************** * Decoder plugins section */ |