diff options
Diffstat (limited to 'src/combined/xine_theora_decoder.c')
-rw-r--r-- | src/combined/xine_theora_decoder.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/combined/xine_theora_decoder.c b/src/combined/xine_theora_decoder.c index 9fd3d6416..e7d59624a 100644 --- a/src/combined/xine_theora_decoder.c +++ b/src/combined/xine_theora_decoder.c @@ -343,22 +343,6 @@ static video_decoder_t *theora_open_plugin (video_decoder_class_t *class_gen, xi /* * theora plugin class */ - -static char *theora_get_identifier (video_decoder_class_t *this) { - /* - * return short, human readable identifier for this plugin class - */ - return "theora video"; -} - -static char *theora_get_description (video_decoder_class_t *this) { - /* - * return human readable (verbose = 1 line) description for - * this plugin class - */ - return "theora video decoder plugin"; -} - static void theora_dispose_class (video_decoder_class_t *this) { /* * free all class-related resources @@ -373,8 +357,8 @@ void *theora_init_plugin (xine_t *xine, void *data) { this = (theora_class_t *) xine_xmalloc (sizeof (theora_class_t)); this->decoder_class.open_plugin = theora_open_plugin; - this->decoder_class.get_identifier = theora_get_identifier; - this->decoder_class.get_description = theora_get_description; + this->decoder_class.identifier = "theora video"; + this->decoder_class.description = _("theora video decoder plugin"); this->decoder_class.dispose = theora_dispose_class; return this; |