# HG changeset patch # User nenolod # Date 1180048036 25200 # Node ID 91f6c4647bae924b98bb1cb0bbaca0fd39f0458c # Parent 37abd9b3de4b88584c23ca94c2c649b4c35d2932 [svn] - filewriter: transition to plugin API v2 diff -r 37abd9b3de4b -r 91f6c4647bae ChangeLog --- 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 + 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 revision [2314] Port to plugin API v2. diff -r 37abd9b3de4b -r 91f6c4647bae src/filewriter/filewriter.c --- 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) {