summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorcallum_linden <none@none>2016-06-02 09:49:08 -0700
committercallum_linden <none@none>2016-06-02 09:49:08 -0700
commit4796f717c2a2c5756b91fa5281019ff23a10a613 (patch)
tree54f214f33240aa05413017013a2230cfe6da5b93 /indra
parent66e8ed280707b2ada96708bb97f472280bf9431e (diff)
BUG-18252 - media flipped on OS X when played in 2D browser
Diffstat (limited to 'indra')
-rwxr-xr-xindra/media_plugins/quicktime/media_plugin_quicktime.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
index 011fd4e051..6d4c6ca43d 100755
--- a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
+++ b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp
@@ -921,7 +921,10 @@ void MediaPluginQuickTime::receiveMessage(const char *message_string)
#endif
message.setValueS32("depth", mDepth);
message.setValueU32("internalformat", GL_RGB);
- message.setValueBoolean("coords_opengl", true); // true == use OpenGL-style coordinates, false == (0,0) is upper left.
+
+ // note this apparently only has an effect when media is opened in 2D browser.
+ // see https://jira.secondlife.com/browse/BUG-18252 - media flipped in 2D so flipping it back.
+ message.setValueBoolean("coords_opengl", false); // true == use OpenGL-style coordinates, false == (0,0) is upper left.
message.setValueBoolean("allow_downsample", true);
sendMessage(message);
}