diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/post/audio/stretch.c | 14 | ||||
-rw-r--r-- | src/post/audio/upmix.c | 14 | ||||
-rw-r--r-- | src/post/audio/upmix_mono.c | 14 | ||||
-rw-r--r-- | src/post/audio/volnorm.c | 14 | ||||
-rw-r--r-- | src/post/deinterlace/xine_plugin.c | 16 | ||||
-rw-r--r-- | src/post/goom/xine_goom.c | 16 | ||||
-rw-r--r-- | src/post/mosaico/mosaico.c | 16 | ||||
-rw-r--r-- | src/post/mosaico/switch.c | 16 | ||||
-rw-r--r-- | src/post/planar/boxblur.c | 16 | ||||
-rw-r--r-- | src/post/planar/denoise3d.c | 16 | ||||
-rw-r--r-- | src/post/planar/eq.c | 16 | ||||
-rw-r--r-- | src/post/planar/eq2.c | 16 | ||||
-rw-r--r-- | src/post/planar/expand.c | 16 | ||||
-rw-r--r-- | src/post/planar/fill.c | 16 | ||||
-rw-r--r-- | src/post/planar/invert.c | 16 | ||||
-rw-r--r-- | src/post/planar/noise.c | 16 | ||||
-rw-r--r-- | src/post/planar/pp.c | 16 | ||||
-rw-r--r-- | src/post/planar/unsharp.c | 16 | ||||
-rw-r--r-- | src/post/visualizations/fftgraph.c | 14 | ||||
-rw-r--r-- | src/post/visualizations/fftscope.c | 14 | ||||
-rw-r--r-- | src/post/visualizations/fooviz.c | 14 | ||||
-rw-r--r-- | src/post/visualizations/oscope.c | 14 |
22 files changed, 44 insertions, 292 deletions
diff --git a/src/post/audio/stretch.c b/src/post/audio/stretch.c index 5aa7a0617..455001deb 100644 --- a/src/post/audio/stretch.c +++ b/src/post/audio/stretch.c @@ -659,16 +659,6 @@ static post_plugin_t *stretch_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *stretch_get_identifier(post_class_t *class_gen) -{ - return "stretch"; -} - -static char *stretch_get_description(post_class_t *class_gen) -{ - return "Time stretch by a given factor, optionally preserving pitch"; -} - static void stretch_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -683,8 +673,8 @@ void *stretch_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = stretch_open_plugin; - class->post_class.get_identifier = stretch_get_identifier; - class->post_class.get_description = stretch_get_description; + class->post_class.identifier = "stretch"; + class->post_class.description = _("Time stretch by a given factor, optionally preserving pitch"); class->post_class.dispose = stretch_class_dispose; class->xine = xine; diff --git a/src/post/audio/upmix.c b/src/post/audio/upmix.c index e1b2afbe3..e2c9f84a3 100644 --- a/src/post/audio/upmix.c +++ b/src/post/audio/upmix.c @@ -414,16 +414,6 @@ static post_plugin_t *upmix_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *upmix_get_identifier(post_class_t *class_gen) -{ - return "upmix"; -} - -static char *upmix_get_description(post_class_t *class_gen) -{ - return "upmix"; -} - static void upmix_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -438,8 +428,8 @@ void *upmix_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = upmix_open_plugin; - class->post_class.get_identifier = upmix_get_identifier; - class->post_class.get_description = upmix_get_description; + class->post_class.identifier = "upmix"; + class->post_class.description = _("upmix"); class->post_class.dispose = upmix_class_dispose; class->xine = xine; diff --git a/src/post/audio/upmix_mono.c b/src/post/audio/upmix_mono.c index 195831123..dad9e5274 100644 --- a/src/post/audio/upmix_mono.c +++ b/src/post/audio/upmix_mono.c @@ -329,16 +329,6 @@ static post_plugin_t *upmix_mono_open_plugin(post_class_t *class_gen, int inputs return &this->post; } -static char *upmix_mono_get_identifier(post_class_t *class_gen) -{ - return "upmix_mono"; -} - -static char *upmix_mono_get_description(post_class_t *class_gen) -{ - return "converts Mono into Stereo"; -} - static void upmix_mono_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -353,8 +343,8 @@ void *upmix_mono_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = upmix_mono_open_plugin; - class->post_class.get_identifier = upmix_mono_get_identifier; - class->post_class.get_description = upmix_mono_get_description; + class->post_class.identifier = "upmix_mono"; + class->post_class.description = _("converts Mono into Stereo"); class->post_class.dispose = upmix_mono_class_dispose; class->xine = xine; diff --git a/src/post/audio/volnorm.c b/src/post/audio/volnorm.c index 783c1e26d..47cd400be 100644 --- a/src/post/audio/volnorm.c +++ b/src/post/audio/volnorm.c @@ -447,16 +447,6 @@ static post_plugin_t *volnorm_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *volnorm_get_identifier(post_class_t *class_gen) -{ - return "volnorm"; -} - -static char *volnorm_get_description(post_class_t *class_gen) -{ - return "Normalize volume"; -} - static void volnorm_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -471,8 +461,8 @@ void *volnorm_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = volnorm_open_plugin; - class->post_class.get_identifier = volnorm_get_identifier; - class->post_class.get_description = volnorm_get_description; + class->post_class.identifier = "volnorm"; + class->post_class.description = _("Normalize volume"); class->post_class.dispose = volnorm_class_dispose; class->xine = xine; diff --git a/src/post/deinterlace/xine_plugin.c b/src/post/deinterlace/xine_plugin.c index 99bd597f6..cbe024d19 100644 --- a/src/post/deinterlace/xine_plugin.c +++ b/src/post/deinterlace/xine_plugin.c @@ -268,8 +268,6 @@ static xine_post_api_t post_api = { static post_plugin_t *deinterlace_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *deinterlace_get_identifier(post_class_t *class_gen); -static char *deinterlace_get_description(post_class_t *class_gen); static void deinterlace_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -299,8 +297,8 @@ static void *deinterlace_init_plugin(xine_t *xine, void *data) return NULL; class->class.open_plugin = deinterlace_open_plugin; - class->class.get_identifier = deinterlace_get_identifier; - class->class.get_description = deinterlace_get_description; + class->class.identifier = "tvtime"; + class->class.description = _("advanced deinterlacer plugin with pulldown detection"); class->class.dispose = deinterlace_class_dispose; @@ -412,16 +410,6 @@ static post_plugin_t *deinterlace_open_plugin(post_class_t *class_gen, int input return &this->post; } -static char *deinterlace_get_identifier(post_class_t *class_gen) -{ - return "tvtime"; -} - -static char *deinterlace_get_description(post_class_t *class_gen) -{ - return "advanced deinterlacer plugin with pulldown detection"; -} - static void deinterlace_class_dispose(post_class_t *class_gen) { xine_buffer_free(help_string); diff --git a/src/post/goom/xine_goom.c b/src/post/goom/xine_goom.c index 351c997ba..4371785f5 100644 --- a/src/post/goom/xine_goom.c +++ b/src/post/goom/xine_goom.c @@ -125,8 +125,6 @@ const plugin_info_t xine_plugin_info[] EXPORTED = { static post_plugin_t *goom_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *goom_get_identifier(post_class_t *class_gen); -static char *goom_get_description(post_class_t *class_gen); static void goom_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -194,8 +192,8 @@ static void *goom_init_plugin(xine_t *xine, void *data) return NULL; this->class.open_plugin = goom_open_plugin; - this->class.get_identifier = goom_get_identifier; - this->class.get_description = goom_get_description; + this->class.identifier = "goom"; + this->class.description = _("What a GOOM"); this->class.dispose = goom_class_dispose; this->ip = NULL; this->xine = xine; @@ -307,16 +305,6 @@ static post_plugin_t *goom_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *goom_get_identifier(post_class_t *class_gen) -{ - return "goom"; -} - -static char *goom_get_description(post_class_t *class_gen) -{ - return "What a GOOM"; -} - static void goom_class_dispose(post_class_t *class_gen) { post_class_goom_t *this = (post_class_goom_t*) class_gen; diff --git a/src/post/mosaico/mosaico.c b/src/post/mosaico/mosaico.c index 05c1f5f19..af84dca8f 100644 --- a/src/post/mosaico/mosaico.c +++ b/src/post/mosaico/mosaico.c @@ -96,8 +96,6 @@ struct post_mosaico_s { static post_plugin_t *mosaico_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *mosaico_get_identifier(post_class_t *class_gen); -static char *mosaico_get_description(post_class_t *class_gen); static void mosaico_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -128,8 +126,8 @@ static void *mosaico_init_plugin(xine_t *xine, void *data) return NULL; this->class.open_plugin = mosaico_open_plugin; - this->class.get_identifier = mosaico_get_identifier; - this->class.get_description = mosaico_get_description; + this->class.identifier = "mosaico"; + this->class.description = _("Mosaico is a picture in picture (pip) post plugin"); this->class.dispose = mosaico_class_dispose; this->xine = xine; @@ -202,16 +200,6 @@ static post_plugin_t *mosaico_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *mosaico_get_identifier(post_class_t *class_gen) -{ - return "mosaico"; -} - -static char *mosaico_get_description(post_class_t *class_gen) -{ - return "Mosaico is a picture in picture (pip) post plugin"; -} - static void mosaico_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/mosaico/switch.c b/src/post/mosaico/switch.c index 8fec5ee77..3561226b1 100644 --- a/src/post/mosaico/switch.c +++ b/src/post/mosaico/switch.c @@ -82,8 +82,6 @@ struct post_switch_s { static post_plugin_t *switch_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *switch_get_identifier(post_class_t *class_gen); -static char *switch_get_description(post_class_t *class_gen); static void switch_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -107,8 +105,8 @@ static void *switch_init_plugin(xine_t *xine, void *data) return NULL; this->class.open_plugin = switch_open_plugin; - this->class.get_identifier = switch_get_identifier; - this->class.get_description = switch_get_description; + this->class.identifier = "switch"; + this->class.description = _("Switch is a post plugin able to switch at any time between different streams"); this->class.dispose = switch_class_dispose; this->xine = xine; @@ -168,16 +166,6 @@ static post_plugin_t *switch_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *switch_get_identifier(post_class_t *class_gen) -{ - return "switch"; -} - -static char *switch_get_description(post_class_t *class_gen) -{ - return "Switch is a post plugin able to switch at any time between different streams"; -} - static void switch_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/boxblur.c b/src/post/planar/boxblur.c index b7a6f524f..dd22bef44 100644 --- a/src/post/planar/boxblur.c +++ b/src/post/planar/boxblur.c @@ -120,8 +120,6 @@ static xine_post_api_t post_api = { static post_plugin_t *boxblur_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *boxblur_get_identifier(post_class_t *class_gen); -static char *boxblur_get_description(post_class_t *class_gen); static void boxblur_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -142,8 +140,8 @@ void *boxblur_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = boxblur_open_plugin; - class->get_identifier = boxblur_get_identifier; - class->get_description = boxblur_get_description; + class->identifier = "boxblur"; + class->description = _("box blur filter from mplayer"); class->dispose = boxblur_class_dispose; return class; @@ -194,16 +192,6 @@ static post_plugin_t *boxblur_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *boxblur_get_identifier(post_class_t *class_gen) -{ - return "boxblur"; -} - -static char *boxblur_get_description(post_class_t *class_gen) -{ - return "box blur filter from mplayer"; -} - static void boxblur_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/denoise3d.c b/src/post/planar/denoise3d.c index fb3c1102b..5bac53e52 100644 --- a/src/post/planar/denoise3d.c +++ b/src/post/planar/denoise3d.c @@ -157,8 +157,6 @@ static xine_post_api_t post_api = { static post_plugin_t *denoise3d_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *denoise3d_get_identifier(post_class_t *class_gen); -static char *denoise3d_get_description(post_class_t *class_gen); static void denoise3d_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -182,8 +180,8 @@ void *denoise3d_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = denoise3d_open_plugin; - class->get_identifier = denoise3d_get_identifier; - class->get_description = denoise3d_get_description; + class->identifier = "denoise3d"; + class->description = _("3D Denoiser (variable lowpass filter)"); class->dispose = denoise3d_class_dispose; return class; @@ -237,16 +235,6 @@ static post_plugin_t *denoise3d_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *denoise3d_get_identifier(post_class_t *class_gen) -{ - return "denoise3d"; -} - -static char *denoise3d_get_description(post_class_t *class_gen) -{ - return "3D Denoiser (variable lowpass filter)"; -} - static void denoise3d_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/eq.c b/src/post/planar/eq.c index b2cf6e50f..bd1571603 100644 --- a/src/post/planar/eq.c +++ b/src/post/planar/eq.c @@ -208,8 +208,6 @@ static xine_post_api_t post_api = { static post_plugin_t *eq_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *eq_get_identifier(post_class_t *class_gen); -static char *eq_get_description(post_class_t *class_gen); static void eq_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -234,8 +232,8 @@ void *eq_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = eq_open_plugin; - class->get_identifier = eq_get_identifier; - class->get_description = eq_get_description; + class->identifier = "eq"; + class->description = _("soft video equalizer"); class->dispose = eq_class_dispose; return class; @@ -292,16 +290,6 @@ static post_plugin_t *eq_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *eq_get_identifier(post_class_t *class_gen) -{ - return "eq"; -} - -static char *eq_get_description(post_class_t *class_gen) -{ - return "soft video equalizer"; -} - static void eq_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/eq2.c b/src/post/planar/eq2.c index 6b277c347..e33f6075b 100644 --- a/src/post/planar/eq2.c +++ b/src/post/planar/eq2.c @@ -389,8 +389,6 @@ static xine_post_api_t post_api = { static post_plugin_t *eq2_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *eq2_get_identifier(post_class_t *class_gen); -static char *eq2_get_description(post_class_t *class_gen); static void eq2_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -415,8 +413,8 @@ void *eq2_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = eq2_open_plugin; - class->get_identifier = eq2_get_identifier; - class->get_description = eq2_get_description; + class->identifier = "eq2"; + class->description = _("Software video equalizer"); class->dispose = eq2_class_dispose; return class; @@ -489,16 +487,6 @@ static post_plugin_t *eq2_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *eq2_get_identifier(post_class_t *class_gen) -{ - return "eq2"; -} - -static char *eq2_get_description(post_class_t *class_gen) -{ - return "Software video equalizer"; -} - static void eq2_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/expand.c b/src/post/planar/expand.c index 67d449153..d654190f5 100644 --- a/src/post/planar/expand.c +++ b/src/post/planar/expand.c @@ -100,8 +100,6 @@ typedef struct post_expand_s { static post_plugin_t *expand_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *expand_get_identifier(post_class_t *class_gen); -static char *expand_get_description(post_class_t *class_gen); static void expand_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -136,8 +134,8 @@ void *expand_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = expand_open_plugin; - class->get_identifier = expand_get_identifier; - class->get_description = expand_get_description; + class->identifier = "expand"; + class->description = _("add black borders to top and bottom of video to expand it to 4:3 aspect ratio"); class->dispose = expand_class_dispose; return class; @@ -191,16 +189,6 @@ static post_plugin_t *expand_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *expand_get_identifier(post_class_t *class_gen) -{ - return "expand"; -} - -static char *expand_get_description(post_class_t *class_gen) -{ - return "add black borders to top and bottom of video to expand it to 4:3 aspect ratio"; -} - static void expand_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/fill.c b/src/post/planar/fill.c index 32a9d5dfb..3406a57b1 100644 --- a/src/post/planar/fill.c +++ b/src/post/planar/fill.c @@ -32,8 +32,6 @@ void *fill_init_plugin(xine_t *xine, void *); static post_plugin_t *fill_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *fill_get_identifier(post_class_t *class_gen); -static char *fill_get_description(post_class_t *class_gen); static void fill_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -54,8 +52,8 @@ void *fill_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = fill_open_plugin; - class->get_identifier = fill_get_identifier; - class->get_description = fill_get_description; + class->identifier = "fill"; + class->description = _("crops left and right of video to fill 4:3 aspect ratio"); class->dispose = fill_class_dispose; return class; @@ -92,16 +90,6 @@ static post_plugin_t *fill_open_plugin(post_class_t *class_gen, int inputs, return this; } -static char *fill_get_identifier(post_class_t *class_gen) -{ - return "fill"; -} - -static char *fill_get_description(post_class_t *class_gen) -{ - return "crops left and right of video to fill 4:3 aspect ratio"; -} - static void fill_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/invert.c b/src/post/planar/invert.c index 1aa5c2a2e..d8a83ee28 100644 --- a/src/post/planar/invert.c +++ b/src/post/planar/invert.c @@ -33,8 +33,6 @@ void *invert_init_plugin(xine_t *xine, void *); static post_plugin_t *invert_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *invert_get_identifier(post_class_t *class_gen); -static char *invert_get_description(post_class_t *class_gen); static void invert_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -55,8 +53,8 @@ void *invert_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = invert_open_plugin; - class->get_identifier = invert_get_identifier; - class->get_description = invert_get_description; + class->identifier = "invert"; + class->description = _("inverts the colours of every video frame"); class->dispose = invert_class_dispose; return class; @@ -91,16 +89,6 @@ static post_plugin_t *invert_open_plugin(post_class_t *class_gen, int inputs, return this; } -static char *invert_get_identifier(post_class_t *class_gen) -{ - return "invert"; -} - -static char *invert_get_description(post_class_t *class_gen) -{ - return "inverts the colours of every video frame"; -} - static void invert_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/noise.c b/src/post/planar/noise.c index 8c04f2e72..31d61c62b 100644 --- a/src/post/planar/noise.c +++ b/src/post/planar/noise.c @@ -429,8 +429,6 @@ static xine_post_api_t post_api = { static post_plugin_t *noise_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *noise_get_identifier(post_class_t *class_gen); -static char *noise_get_description(post_class_t *class_gen); static void noise_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -451,8 +449,8 @@ void *noise_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = noise_open_plugin; - class->get_identifier = noise_get_identifier; - class->get_description = noise_get_description; + class->identifier = "noise"; + class->description = _("Adds noise"); class->dispose = noise_class_dispose; #ifdef ARCH_X86 @@ -515,16 +513,6 @@ static post_plugin_t *noise_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *noise_get_identifier(post_class_t *class_gen) -{ - return "noise"; -} - -static char *noise_get_description(post_class_t *class_gen) -{ - return "Adds noise"; -} - static void noise_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/pp.c b/src/post/planar/pp.c index e13119311..dead0e543 100644 --- a/src/post/planar/pp.c +++ b/src/post/planar/pp.c @@ -135,8 +135,6 @@ static xine_post_api_t post_api = { static post_plugin_t *pp_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *pp_get_identifier(post_class_t *class_gen); -static char *pp_get_description(post_class_t *class_gen); static void pp_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -157,8 +155,8 @@ void *pp_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = pp_open_plugin; - class->get_identifier = pp_get_identifier; - class->get_description = pp_get_description; + class->identifier = "pp"; + class->description = _("plugin for ffmpeg libpostprocess"); class->dispose = pp_class_dispose; return class; @@ -221,16 +219,6 @@ static post_plugin_t *pp_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *pp_get_identifier(post_class_t *class_gen) -{ - return "pp"; -} - -static char *pp_get_description(post_class_t *class_gen) -{ - return "plugin for ffmpeg libpostprocess"; -} - static void pp_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/planar/unsharp.c b/src/post/planar/unsharp.c index b9b791a8e..ffce45a91 100644 --- a/src/post/planar/unsharp.c +++ b/src/post/planar/unsharp.c @@ -253,8 +253,6 @@ static xine_post_api_t post_api = { static post_plugin_t *unsharp_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target); -static char *unsharp_get_identifier(post_class_t *class_gen); -static char *unsharp_get_description(post_class_t *class_gen); static void unsharp_class_dispose(post_class_t *class_gen); /* plugin instance functions */ @@ -275,8 +273,8 @@ void *unsharp_init_plugin(xine_t *xine, void *data) return NULL; class->open_plugin = unsharp_open_plugin; - class->get_identifier = unsharp_get_identifier; - class->get_description = unsharp_get_description; + class->identifier = "unsharp"; + class->description = _("unsharp mask & gaussian blur"); class->dispose = unsharp_class_dispose; return class; @@ -332,16 +330,6 @@ static post_plugin_t *unsharp_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *unsharp_get_identifier(post_class_t *class_gen) -{ - return "unsharp"; -} - -static char *unsharp_get_description(post_class_t *class_gen) -{ - return "unsharp mask & gaussian blur"; -} - static void unsharp_class_dispose(post_class_t *class_gen) { free(class_gen); diff --git a/src/post/visualizations/fftgraph.c b/src/post/visualizations/fftgraph.c index 5068bd37a..1194c956f 100644 --- a/src/post/visualizations/fftgraph.c +++ b/src/post/visualizations/fftgraph.c @@ -452,16 +452,6 @@ static post_plugin_t *fftgraph_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *fftgraph_get_identifier(post_class_t *class_gen) -{ - return "fftgraph"; -} - -static char *fftgraph_get_description(post_class_t *class_gen) -{ - return "fftgraph Visualization Post Plugin"; -} - static void fftgraph_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -476,8 +466,8 @@ void *fftgraph_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = fftgraph_open_plugin; - class->post_class.get_identifier = fftgraph_get_identifier; - class->post_class.get_description = fftgraph_get_description; + class->post_class.identifier = "fftgraph"; + class->post_class.description = _("fftgraph Visualization Post Plugin"); class->post_class.dispose = fftgraph_class_dispose; class->xine = xine; diff --git a/src/post/visualizations/fftscope.c b/src/post/visualizations/fftscope.c index ba34437f5..6f152f15c 100644 --- a/src/post/visualizations/fftscope.c +++ b/src/post/visualizations/fftscope.c @@ -473,16 +473,6 @@ static post_plugin_t *fftscope_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *fftscope_get_identifier(post_class_t *class_gen) -{ - return "FFT Scope"; -} - -static char *fftscope_get_description(post_class_t *class_gen) -{ - return "FFT Scope"; -} - static void fftscope_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -497,8 +487,8 @@ void *fftscope_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = fftscope_open_plugin; - class->post_class.get_identifier = fftscope_get_identifier; - class->post_class.get_description = fftscope_get_description; + class->post_class.identifier = "FFT Scope"; + class->post_class.description = _("FFT Scope"); class->post_class.dispose = fftscope_class_dispose; class->xine = xine; diff --git a/src/post/visualizations/fooviz.c b/src/post/visualizations/fooviz.c index 21854afc6..6b0a583be 100644 --- a/src/post/visualizations/fooviz.c +++ b/src/post/visualizations/fooviz.c @@ -284,16 +284,6 @@ static post_plugin_t *fooviz_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *fooviz_get_identifier(post_class_t *class_gen) -{ - return "fooviz"; -} - -static char *fooviz_get_description(post_class_t *class_gen) -{ - return "fooviz"; -} - static void fooviz_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -308,8 +298,8 @@ static void *fooviz_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = fooviz_open_plugin; - class->post_class.get_identifier = fooviz_get_identifier; - class->post_class.get_description = fooviz_get_description; + class->post_class.identifier = "fooviz"; + class->post_class.description = _("fooviz"); class->post_class.dispose = fooviz_class_dispose; class->xine = xine; diff --git a/src/post/visualizations/oscope.c b/src/post/visualizations/oscope.c index a435604d4..5c91472fa 100644 --- a/src/post/visualizations/oscope.c +++ b/src/post/visualizations/oscope.c @@ -355,16 +355,6 @@ static post_plugin_t *oscope_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *oscope_get_identifier(post_class_t *class_gen) -{ - return "Oscilloscope"; -} - -static char *oscope_get_description(post_class_t *class_gen) -{ - return "Oscilloscope"; -} - static void oscope_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -379,8 +369,8 @@ void *oscope_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = oscope_open_plugin; - class->post_class.get_identifier = oscope_get_identifier; - class->post_class.get_description = oscope_get_description; + class->post_class.identifier = "Oscilloscope"; + class->post_class.description = _("Oscilloscope"); class->post_class.dispose = oscope_class_dispose; class->xine = xine; |