-
- Downloads
Added an "init" message in LLPLUGIN_MESSAGE_CLASS_MEDIA, and made...
Added an "init" message in LLPLUGIN_MESSAGE_CLASS_MEDIA, and made LLPluginClassMedia queue it up before initializing its LLPluginProcessParent. Made all existing plugins send their texture_params message from this init message instead of the LLPLUGIN_MESSAGE_CLASS_BASE "init" message. (This ensures that they won't start to receive 'size_change' messages until after the init has happened.) Added "set_user_data_path" and "set_language_code" messages to LLPluginClassMedia. Made webkit plugin deal with the new messages, when they're sent before it receives the media "init". Removed the user_data_path and language_code arguments from the init function calls throughout the hierarchy. Made LLViewerMediaImpl queue up the language code and user data path messages before initializing the media. Reviewed by Callum at http://codereview.lindenlab.com/687006 .
Showing
- indra/llplugin/llpluginclassmedia.cpp 21 additions, 3 deletionsindra/llplugin/llpluginclassmedia.cpp
- indra/llplugin/llpluginclassmedia.h 5 additions, 3 deletionsindra/llplugin/llpluginclassmedia.h
- indra/llplugin/llpluginprocesschild.cpp 0 additions, 4 deletionsindra/llplugin/llpluginprocesschild.cpp
- indra/llplugin/llpluginprocesschild.h 0 additions, 3 deletionsindra/llplugin/llpluginprocesschild.h
- indra/llplugin/llpluginprocessparent.cpp 2 additions, 7 deletionsindra/llplugin/llpluginprocessparent.cpp
- indra/llplugin/llpluginprocessparent.h 1 addition, 6 deletionsindra/llplugin/llpluginprocessparent.h
- indra/media_plugins/example/media_plugin_example.cpp 14 additions, 12 deletionsindra/media_plugins/example/media_plugin_example.cpp
- indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp 30 additions, 28 deletions.../media_plugins/gstreamer010/media_plugin_gstreamer010.cpp
- indra/media_plugins/quicktime/media_plugin_quicktime.cpp 35 additions, 31 deletionsindra/media_plugins/quicktime/media_plugin_quicktime.cpp
- indra/media_plugins/webkit/media_plugin_webkit.cpp 153 additions, 102 deletionsindra/media_plugins/webkit/media_plugin_webkit.cpp
- indra/newview/llviewermedia.cpp 3 additions, 2 deletionsindra/newview/llviewermedia.cpp
- indra/test_apps/llplugintest/llmediaplugintest.cpp 4 additions, 3 deletionsindra/test_apps/llplugintest/llmediaplugintest.cpp
Loading
Please register or sign in to comment