updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / omvviewer-git / gstreamer-0.10.26-patch.diff
blob781d20e189e7c8c09456c2b721f9b9c8d14bf0a1
1 diff --git a/indra/llmedia/llmediaimplgstreamervidplug.cpp b/indra/llmedia/llmediaimplgstreamervidplug.cpp
2 index 5e96666..7378fd3 100644
3 --- a/indra/llmedia/llmediaimplgstreamervidplug.cpp
4 +++ b/indra/llmedia/llmediaimplgstreamervidplug.cpp
5 @@ -441,10 +441,9 @@ plugin_init (GstPlugin * plugin)
6 some g++ versions buggily avoid __attribute__((constructor)) functions -
7 so we provide an explicit plugin init function.
8 */
9 -void gst_slvideo_init_class (void)
12 #define PACKAGE "packagehack"
13 - static GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
14 + GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
15 GST_VERSION_MINOR,
16 "private-slvideoplugin",
17 "SL Video sink plugin",
18 @@ -452,6 +451,9 @@ void gst_slvideo_init_class (void)
19 "Second Life",
20 "http://www.secondlife.com/");
21 #undef PACKAGE
23 +void gst_slvideo_init_class (void)
25 ll_gst_plugin_register_static (&gst_plugin_desc);
26 //fprintf(stderr, "\n\n\nCLASS INIT\n\n\n");