aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt4
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamervidplug.cpp26
2 files changed, 14 insertions, 16 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 6f1f4ce..59c780c 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,9 @@
12009-03-26 Jacek Antonelli <jacek.antonelli@gmail.com> 12009-03-26 Jacek Antonelli <jacek.antonelli@gmail.com>
2 2
3 * linden/indra/llmedia/llmediaimplgstreamervidplug.cpp:
4 Fixed/improved how slvideo gst plugin is registered.
5
6
3 * linden/indra/llmedia/llmediaimplgstreamer_syms.cpp: 7 * linden/indra/llmedia/llmediaimplgstreamer_syms.cpp:
4 Removed obsolete gstreamer_syms files. 8 Removed obsolete gstreamer_syms files.
5 * linden/indra/llmedia/llmediaimplgstreamer_syms.h: 9 * linden/indra/llmedia/llmediaimplgstreamer_syms.h:
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