File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 111 VERSIONINFO
2- FILEVERSION 2,0,1 ,0
2+ FILEVERSION 2,0,2 ,0
33BEGIN
44 BLOCK "StringFileInfo"
55 BEGIN
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ AddDevice* addDevUI = NULL;
4444#include " buffer_util.h"
4545#include " device_discovery.h"
4646
47- #define VERSION_TEXT " 201 "
47+ #define PLUGIN_VERSION_STR " 202 "
4848#define FPS 25
4949#define MILLI_SEC 1000
5050#define NANO_SEC 1000000000
@@ -411,7 +411,11 @@ static void *video_thread(void *data) {
411411 VideoFormatNames[plugin->video_format ][1 ],
412412 Resolutions[plugin->video_resolution ],
413413 plugin->usb_port ,
414- VERSION_TEXT, 5912 );
414+ #if DROIDCAM_OVERRIDE
415+ obs_get_version_string (), 5912 );
416+ #else
417+ PLUGIN_VERSION_STR, 5912 );
418+ #endif
415419
416420 dlog (" %s" , video_req);
417421 if (net_send_all (sock, video_req, video_req_len) <= 0 ) {
@@ -653,7 +657,7 @@ static void plugin_destroy(void *data) {
653657}
654658
655659static void *plugin_create (obs_data_t *settings, obs_source_t *source) {
656- ilog (" create: r " VERSION_TEXT " \" %s\" " , obs_source_get_name (source));
660+ ilog (" Source: \" %s\" - " PLUGIN_VERSION_STR , obs_source_get_name (source));
657661 obs_source_set_async_unbuffered (source, true );
658662
659663 droidcam_obs_plugin *plugin = new droidcam_obs_plugin ();
You can’t perform that action at this time.
0 commit comments