changeset 1076:91f6c4647bae trunk

[svn] - filewriter: transition to plugin API v2
author nenolod
date Thu, 24 May 2007 16:07:16 -0700
parents 37abd9b3de4b
children 247737fdf8ce
files ChangeLog src/filewriter/filewriter.c
diffstat 2 files changed, 14 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 15:53:40 2007 -0700
+++ b/ChangeLog	Thu May 24 16:07:16 2007 -0700
@@ -1,3 +1,13 @@
+2007-05-24 22:53:40 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2316]
+  - conversion to yaz's style was not needed, just API v2 ;p
+  
+  trunk/src/aac/src/libmp4.c |    8 +++-----
+  trunk/src/alac/plugin.c    |    4 +---
+  trunk/src/wma/wma.c        |    4 +---
+  3 files changed, 5 insertions(+), 11 deletions(-)
+
+
 2007-05-24 22:46:25 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [2314]
   Port to plugin API v2.
--- a/src/filewriter/filewriter.c	Thu May 24 15:53:40 2007 -0700
+++ b/src/filewriter/filewriter.c	Thu May 24 16:07:16 2007 -0700
@@ -92,7 +92,7 @@
 {
     NULL,
     NULL,
-    NULL,
+    "FileWriter Plugin",
     file_init,
     NULL,
     file_about,
@@ -111,11 +111,9 @@
     NULL
 };
 
-OutputPlugin *get_oplugin_info(void)
-{
-    file_op.description = g_strdup_printf("FileWriter %s", VERSION);
-    return &file_op;
-}
+OutputPlugin *file_oplist[] = { &file_op, NULL };
+
+DECLARE_PLUGIN(filewriter, NULL, NULL, file_oplist, NULL, NULL, NULL, NULL);
 
 static void set_plugin(void)
 {