Skip to content
Snippets Groups Projects
Commit c49eeb9a authored by Callum Prentice's avatar Callum Prentice
Browse files

Add back the missing pieces and updated code for the example plugin. It was...

Add back the missing pieces and updated code for the example plugin.  It was useful during testing SLPlugin changes. Not shipped with release versions of viewer
parent 28824e68
No related branches found
No related tags found
No related merge requests found
......@@ -5,14 +5,17 @@ add_subdirectory(base)
if (LINUX)
add_subdirectory(gstreamer010)
add_subdirectory(libvlc)
add_subdirectory(example)
endif (LINUX)
if (DARWIN)
add_subdirectory(cef)
add_subdirectory(libvlc)
add_subdirectory(example)
endif (DARWIN)
if (WINDOWS)
add_subdirectory(cef)
add_subdirectory(libvlc)
add_subdirectory(example)
endif (WINDOWS)
......@@ -210,7 +210,6 @@ void MediaPluginCEF::onRequestExitCallback()
sendMessage(message);
mDeleteMe = true;
//mCEFLib->shutdown();
}
////////////////////////////////////////////////////////////////////////////////
......
This diff is collapsed.
......@@ -1745,6 +1745,7 @@ if (WINDOWS)
SLPlugin
media_plugin_cef
media_plugin_libvlc
media_plugin_example
winmm_shim
windows-crash-logger
)
......
......@@ -133,18 +133,29 @@
media_plugin_libvlc
</impl>
</scheme>
<scheme name="libvlc">
<label name="libvlc_label">
LibVLC supported media
</label>
<widgettype>
movie
</widgettype>
<impl>
media_plugin_libvlc
</impl>
</scheme>
<mimetype name="blank">
<scheme name="example">
<label name="example_label">
Example Plugin scheme trigger
</label>
<widgettype>
movie
</widgettype>
<impl>
media_plugin_example
</impl>
</scheme>
<scheme name="libvlc">
<label name="libvlc_label">
LibVLC supported media
</label>
<widgettype>
movie
</widgettype>
<impl>
media_plugin_libvlc
</impl>
</scheme>
<mimetype name="blank">
<label name="blank_label">
- None -
</label>
......
......@@ -439,6 +439,12 @@ def construct(self):
self.path("media_plugin_libvlc.dll")
self.end_prefix()
# Media plugins - Example (useful for debugging - not shipped with release viewer)
if self.channel_type() != 'release':
if self.prefix(src='../media_plugins/example/%s' % self.args['configuration'], dst="llplugin"):
self.path("media_plugin_example.dll")
self.end_prefix()
# CEF runtime files - debug
if self.args['configuration'].lower() == 'debug':
if self.prefix(src=os.path.join(os.pardir, 'packages', 'bin', 'debug'), dst="llplugin"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment