diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 12:01:59 +0100 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 12:01:59 +0100 |
| commit | bbb97d24340fb6b780b55f54da0f0d3b94956bfc (patch) | |
| tree | a5c0b2f7145f916ae8c201e2800e11266a889c95 /src/video_out/video_out_stk.c | |
| parent | f8b45084853fd3f1c40ad611e5f1649851eb9d47 (diff) | |
| download | xine-lib-bbb97d24340fb6b780b55f54da0f0d3b94956bfc.tar.gz xine-lib-bbb97d24340fb6b780b55f54da0f0d3b94956bfc.tar.bz2 | |
Update all video output plugins to the new identifier/description interface.
Diffstat (limited to 'src/video_out/video_out_stk.c')
| -rw-r--r-- | src/video_out/video_out_stk.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/video_out/video_out_stk.c b/src/video_out/video_out_stk.c index dfc4ae385..ba357cd73 100644 --- a/src/video_out/video_out_stk.c +++ b/src/video_out/video_out_stk.c @@ -442,16 +442,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *class_gen, const void *vis /** * Class Functions */ -static char* get_identifier (video_driver_class_t *this_gen) { - //printf("video_out_stk: get_identifier()\n"); - return "stk"; -} - -static char* get_description (video_driver_class_t *this_gen) { - //printf("video_out_stk: get_description()\n"); - return _("xine video output plugin using the Libstk Surface Set-top Toolkit"); -} - static void dispose_class (video_driver_class_t *this_gen) { //printf("video_out_stk: dispose_class()\n"); free(this_gen); @@ -466,8 +456,8 @@ static void *init_class (xine_t *xine, void *visual_gen) { this = (stk_class_t *) xine_xmalloc(sizeof(stk_class_t)); this->driver_class.open_plugin = open_plugin; - this->driver_class.get_identifier = get_identifier; - this->driver_class.get_description = get_description; + this->driver_class.identifier = "stk"; + this->driver_class.description = _("xine video output plugin using the Libstk Surface Set-top Toolkit"); this->driver_class.dispose = dispose_class; this->config = xine->config; |
