comparison src/mpg123/mpg123.c @ 372:a157306caf03 trunk

[svn] - finalize the plugin-side of the extension-assist ABI
author nenolod
date Tue, 12 Dec 2006 19:43:23 -0800
parents c812e846b84e
children 1716423d29fe
comparison
equal deleted inserted replaced
371:96cbec520f57 372:a157306caf03
961 961
962 g_signal_connect(G_OBJECT(aboutbox), "destroy", 962 g_signal_connect(G_OBJECT(aboutbox), "destroy",
963 G_CALLBACK(gtk_widget_destroyed), &aboutbox); 963 G_CALLBACK(gtk_widget_destroyed), &aboutbox);
964 } 964 }
965 965
966 gchar *mpgdec_fmts[] = { "mp3", "mp2", "mpa", "mpg", NULL };
967
966 InputPlugin mpgdec_ip = { 968 InputPlugin mpgdec_ip = {
967 NULL, 969 NULL,
968 NULL, 970 NULL,
969 NULL, /* Description */ 971 NULL, /* Description */
970 init, 972 init,
987 NULL, 989 NULL,
988 get_song_tuple, 990 get_song_tuple,
989 NULL, 991 NULL,
990 NULL, 992 NULL,
991 is_our_fd, 993 is_our_fd,
992 { "mp3", "mp2", "mpa", "mpg", NULL }, 994 mpgdec_fmts,
993 }; 995 };
994 996
995 InputPlugin * 997 InputPlugin *
996 get_iplugin_info(void) 998 get_iplugin_info(void)
997 { 999 {