diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-06-12 11:42:59 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-06-12 11:42:59 +0300 |
commit | a919038b1f9af29bebb93d7175671ce1ba8943b5 (patch) | |
tree | 054f19a5fd2baa292f53aeb10cd885f54c3ded9e /src | |
parent | 81b6195fdffbe4199313fa91931c59bb58b6910f (diff) | |
download | xine-lib-a919038b1f9af29bebb93d7175671ce1ba8943b5.tar.gz xine-lib-a919038b1f9af29bebb93d7175671ce1ba8943b5.tar.bz2 |
Added get_autoplay_list()
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_test.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/input/input_test.c b/src/input/input_test.c index d4133d6d9..8039c3abd 100644 --- a/src/input/input_test.c +++ b/src/input/input_test.c @@ -577,6 +577,13 @@ static input_plugin_t *test_class_get_instance (input_class_t *cls_gen, * plugin class functions */ +static const char * const *test_class_get_autoplay_list (input_class_t *this_gen, int *num_files) +{ + *num_files = sizeof(test_names) / sizeof(test_names[0]) - 1; + + return test_names + 1; +} + static xine_mrl_t **test_class_get_dir (input_class_t *this_gen, const char *filename, int *nFiles) { test_input_class_t *this = (test_input_class_t *) this_gen; @@ -617,7 +624,7 @@ static void *init_plugin (xine_t *xine, void *data) { this->input_class.identifier = "test"; this->input_class.description = N_("test card input plugin"); this->input_class.get_dir = test_class_get_dir; - this->input_class.get_autoplay_list = NULL; + this->input_class.get_autoplay_list = test_class_get_autoplay_list; this->input_class.dispose = test_class_dispose; this->input_class.eject_media = NULL; |