diff options
| author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-10-11 01:21:12 +0300 | 
|---|---|---|
| committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-10-11 01:21:12 +0300 | 
| commit | 0f1d13fd4a8f1bbac74cc70234e90b6c08e45e9b (patch) | |
| tree | 858a8956eabe282f972f219a665d3ebbeea11e36 /indra/media_plugins/quicktime | |
| parent | d66cd019b30ec6ab519fa0ea0c76c1beb99be74c (diff) | |
| parent | 4617e07b3795e46c2037462f738ab81b35bd7294 (diff) | |
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/media_plugins/quicktime')
| -rwxr-xr-x[-rw-r--r--] | indra/media_plugins/quicktime/CMakeLists.txt | 10 | ||||
| -rwxr-xr-x[-rw-r--r--] | indra/media_plugins/quicktime/media_plugin_quicktime.cpp | 7 | 
2 files changed, 11 insertions, 6 deletions
diff --git a/indra/media_plugins/quicktime/CMakeLists.txt b/indra/media_plugins/quicktime/CMakeLists.txt index c5615145be..58391007ff 100644..100755 --- a/indra/media_plugins/quicktime/CMakeLists.txt +++ b/indra/media_plugins/quicktime/CMakeLists.txt @@ -14,7 +14,6 @@ include(PluginAPI)  include(MediaPluginBase)  include(OpenGL)  include(QuickTimePlugin) -include(Boost)  include_directories(      ${LLPLUGIN_INCLUDE_DIRS} @@ -54,12 +53,17 @@ target_link_libraries(media_plugin_quicktime    ${PLUGIN_API_WINDOWS_LIBRARIES}  ) +add_dependencies(media_plugin_quicktime +  ${LLPLUGIN_LIBRARIES} +  ${MEDIA_PLUGIN_BASE_LIBRARIES} +  ${LLCOMMON_LIBRARIES} +) +  if (WINDOWS)    set_target_properties(      media_plugin_quicktime      PROPERTIES -    LINK_FLAGS "/MANIFEST:NO /SAFESEH:NO /NODEFAULTLIB:LIBCMT" -    LINK_FLAGS_DEBUG "/MANIFEST:NO /SAFESEH:NO /NODEFAULTLIB:LIBCMTD" +    LINK_FLAGS "/MANIFEST:NO"      )  endif (WINDOWS) diff --git a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp index 7ef5a0fe44..b43598e4a5 100644..100755 --- a/indra/media_plugins/quicktime/media_plugin_quicktime.cpp +++ b/indra/media_plugins/quicktime/media_plugin_quicktime.cpp @@ -837,9 +837,7 @@ void MediaPluginQuickTime::receiveMessage(const char *message_string)  			else if(message_name == "cleanup")  			{  				// TODO: clean up here -                LLPluginMessage message("base", "goodbye"); -                sendMessage(message); -            } +			}  			else if(message_name == "shm_added")  			{  				SharedSegmentInfo info; @@ -921,6 +919,9 @@ void MediaPluginQuickTime::receiveMessage(const char *message_string)  				#endif  				message.setValueS32("depth", mDepth);  				message.setValueU32("internalformat", GL_RGB); + +                // 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", true);	// true == use OpenGL-style coordinates, false == (0,0) is upper left.  				message.setValueBoolean("allow_downsample", true);  				sendMessage(message);  | 
