aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/media_plugins
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/media_plugins')
-rwxr-xr-xlinden/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp b/linden/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp
index 6835d0f..12bbf90 100755
--- a/linden/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp
+++ b/linden/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp
@@ -1409,6 +1409,16 @@ void MediaPluginGStreamer010::receiveMessage(const char *message_string)
1409// We're building without GStreamer enabled. Just refuse to initialize. 1409// We're building without GStreamer enabled. Just refuse to initialize.
1410int init_media_plugin(LLPluginInstance::sendMessageFunction host_send_func, void *host_user_data, LLPluginInstance::sendMessageFunction *plugin_send_func, void **plugin_user_data) 1410int init_media_plugin(LLPluginInstance::sendMessageFunction host_send_func, void *host_user_data, LLPluginInstance::sendMessageFunction *plugin_send_func, void **plugin_user_data)
1411{ 1411{
1412 // init log file so we know what happened
1413 LLFILE* fp = LLFile::fopen("media_plugin_gstreamer010.log", "w");
1414 if (fp)
1415 {
1416 time_t timeptr = time(NULL);
1417 fprintf(fp, "%s", asctime(localtime(&timeptr)));
1418 fprintf(fp, "media_plugin_gstreamer010 installed but not built with GStreamer support! It must be recompiled to work!\n");
1419 fclose(fp);
1420 }
1421
1412 return -1; 1422 return -1;
1413} 1423}
1414 1424