aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamervidplug.cpp26
1 files changed, 10 insertions, 16 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamervidplug.cpp b/linden/indra/llmedia/llmediaimplgstreamervidplug.cpp
index 651b1b3..eaf2c84 100644
--- a/linden/indra/llmedia/llmediaimplgstreamervidplug.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamervidplug.cpp
@@ -435,25 +435,19 @@ plugin_init (GstPlugin * plugin)
435 GST_RANK_NONE, GST_TYPE_SLVIDEO); 435 GST_RANK_NONE, GST_TYPE_SLVIDEO);
436} 436}
437 437
438/* this is the structure that gstreamer looks for to register plugins
439 */
440/* NOTE: Can't rely upon GST_PLUGIN_DEFINE_STATIC to self-register, since
441 some g++ versions buggily avoid __attribute__((constructor)) functions -
442 so we provide an explicit plugin init function.
443 */
444#define PACKAGE "packagehack"
445 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
446 GST_VERSION_MINOR,
447 "private-slvideoplugin",
448 "SL Video sink plugin",
449 plugin_init, "0.1", GST_LICENSE_UNKNOWN,
450 "Second Life",
451 "http://www.secondlife.com/");
452#undef PACKAGE
453 438
454void gst_slvideo_init_class (void) 439void gst_slvideo_init_class (void)
455{ 440{
456 //fprintf(stderr, "\n\n\nCLASS INIT\n\n\n"); 441 gst_plugin_register_static( GST_VERSION_MAJOR,
442 GST_VERSION_MINOR,
443 "private-slvideoplugin",
444 "SL Video sink plugin",
445 plugin_init,
446 "0.1",
447 GST_LICENSE_UNKNOWN,
448 "Second Life",
449 "Second Life",
450 "http://www.secondlife.com/" );
457} 451}
458 452
459///#endif // LL_GSTREAMER_ENABLED 453///#endif // LL_GSTREAMER_ENABLED