Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mfkl committed Jan 30, 2020
1 parent b525763 commit 234ff2f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Assets/PluginSource/RenderingPlugin.cpp
Expand Up @@ -41,6 +41,17 @@ extern "C" void UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API Print(char* toPrint)
DEBUG("%s", toPrint);
}

extern "C" libvlc_instance_t* UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API
CreateLibVLCUnity(int argc, const char *const *argv)
{
#if TRIAL
strcat(argv, "--sub-source=marq{marquee=Videolabs}");
argc++;
#endif

return libvlc_new(argc, argv);
}

extern "C" libvlc_media_player_t* UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API
CreateAndInitMediaPlayer(libvlc_instance_t* libvlc)
{
Expand Down Expand Up @@ -104,6 +115,7 @@ CreateAndInitMediaPlayer(libvlc_instance_t* libvlc)
return NULL;
}


extern "C" void* UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API
getTexture(libvlc_media_player_t* mp, bool * updated)
{
Expand Down

0 comments on commit 234ff2f

Please sign in to comment.