Skip to content

Commit 9097d1b

Browse files
committed
Version 2.0.2
1 parent 6882b7a commit 9097d1b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/droidcam.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1 VERSIONINFO
2-
FILEVERSION 2,0,1,0
2+
FILEVERSION 2,0,2,0
33
BEGIN
44
BLOCK "StringFileInfo"
55
BEGIN

src/plugin.cc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

655659
static 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();

0 commit comments

Comments
 (0)