Commit 8971bd1a authored by Simon Morlat's avatar Simon Morlat
Browse files

port to lastest mediastreamer2

parent 64df6cb5
...@@ -403,8 +403,8 @@ MS_FILTER_DESC_EXPORT(ms_codec2_dec_desc) ...@@ -403,8 +403,8 @@ MS_FILTER_DESC_EXPORT(ms_codec2_dec_desc)
#define MS_PLUGIN_DECLARE(type) type #define MS_PLUGIN_DECLARE(type) type
#endif #endif
MS_PLUGIN_DECLARE ( void ) libmscodec2_init() { MS_PLUGIN_DECLARE ( void ) libmscodec2_init(MSFactory *factory) {
ms_filter_register ( &ms_codec2_enc_desc ); ms_factory_register_filter(factory, &ms_codec2_enc_desc );
ms_filter_register ( &ms_codec2_dec_desc ); ms_factory_register_filter(factory, &ms_codec2_dec_desc );
ms_message ( "libmscodec2 v%s plugin loaded", MSCODEC2_VERSION ); ms_message( "libmscodec2 v%s plugin loaded", MSCODEC2_VERSION );
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment