{"action":"created","comment":{"url":"https://api.github.com/repos/obsproject/obs-studio/pulls/comments/216681526","pull_request_review_id":154215285,"id":216681526,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjY4MTUyNg==","diff_hunk":"@@ -1655,7 +1686,8 @@ static void game_capture_tick(void *data, float seconds)\n \t\t\tdebug(\"init_capture_data failed\");\n \n \t\tif (result != CAPTURE_RETRY && !gc->capturing) {\n-\t\t\tgc->retry_interval = ERROR_RETRY_INTERVAL;\n+\t\t\tgc->retry_interval = ERROR_RETRY_INTERVAL*","path":"plugins/win-capture/game-capture.c","position":132,"original_position":132,"commit_id":"f347f13831c9491de9cff43db3f13f2634f016aa","original_commit_id":"f347f13831c9491de9cff43db3f13f2634f016aa","user":{"login":"RytoEX","id":624931,"node_id":"MDQ6VXNlcjYyNDkzMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/624931?v=4","gravatar_id":"","url":"https://api.github.com/users/RytoEX","html_url":"https://github.com/RytoEX","followers_url":"https://api.github.com/users/RytoEX/followers","following_url":"https://api.github.com/users/RytoEX/following{/other_user}","gists_url":"https://api.github.com/users/RytoEX/gists{/gist_id}","starred_url":"https://api.github.com/users/RytoEX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RytoEX/subscriptions","organizations_url":"https://api.github.com/users/RytoEX/orgs","repos_url":"https://api.github.com/users/RytoEX/repos","events_url":"https://api.github.com/users/RytoEX/events{/privacy}","received_events_url":"https://api.github.com/users/RytoEX/received_events","type":"User","site_admin":false},"body":"Style: Typically, you need to surround math operators by a single space on each side. Don't leave a trailing space at the end of the line.","created_at":"2018-09-11T14:03:59Z","updated_at":"2018-09-11T14:05:34Z","html_url":"https://github.com/obsproject/obs-studio/pull/1479#discussion_r216681526","pull_request_url":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/obsproject/obs-studio/pulls/comments/216681526"},"html":{"href":"https://github.com/obsproject/obs-studio/pull/1479#discussion_r216681526"},"pull_request":{"href":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479"}}},"pull_request":{"url":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479","id":214449177,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDQ5MTc3","html_url":"https://github.com/obsproject/obs-studio/pull/1479","diff_url":"https://github.com/obsproject/obs-studio/pull/1479.diff","patch_url":"https://github.com/obsproject/obs-studio/pull/1479.patch","issue_url":"https://api.github.com/repos/obsproject/obs-studio/issues/1479","number":1479,"state":"open","locked":false,"title":"win-capture: Add option to adjust hook rate for game capture","user":{"login":"tompeeters368","id":5656659,"node_id":"MDQ6VXNlcjU2NTY2NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5656659?v=4","gravatar_id":"","url":"https://api.github.com/users/tompeeters368","html_url":"https://github.com/tompeeters368","followers_url":"https://api.github.com/users/tompeeters368/followers","following_url":"https://api.github.com/users/tompeeters368/following{/other_user}","gists_url":"https://api.github.com/users/tompeeters368/gists{/gist_id}","starred_url":"https://api.github.com/users/tompeeters368/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompeeters368/subscriptions","organizations_url":"https://api.github.com/users/tompeeters368/orgs","repos_url":"https://api.github.com/users/tompeeters368/repos","events_url":"https://api.github.com/users/tompeeters368/events{/privacy}","received_events_url":"https://api.github.com/users/tompeeters368/received_events","type":"User","site_admin":false},"body":"I run an automatic stream in which the game is frequently restarted, and OBS's retry interval on finding the game window was so long that you'd often miss the first few seconds.\r\nThis pull request adds an option to adjust the speed at which the game capture plugin tries to find a valid window.\r\nIt may be a niche option, but it improved my stream, so I figured I'd see if there was interest to include it.\r\n\r\nI tried to make the option easy to understand by making it a simple slow/normal/fast/fastest setting.\r\nThe code mentions that trying too fast can cause crashes, e.g. by Steam, which is not a concern in my case. I have not encountered any problems thus far with using the fastest setting. Regardless, the default is unchanged from the existing retry interval and the option recommends to leave it at that.","created_at":"2018-09-10T21:26:26Z","updated_at":"2018-09-11T14:05:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b867112271ae5b9b0102f6a075e190cd6afca387","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479/commits","review_comments_url":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479/comments","review_comment_url":"https://api.github.com/repos/obsproject/obs-studio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/obsproject/obs-studio/issues/1479/comments","statuses_url":"https://api.github.com/repos/obsproject/obs-studio/statuses/f347f13831c9491de9cff43db3f13f2634f016aa","head":{"label":"tompeeters368:master","ref":"master","sha":"f347f13831c9491de9cff43db3f13f2634f016aa","user":{"login":"tompeeters368","id":5656659,"node_id":"MDQ6VXNlcjU2NTY2NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5656659?v=4","gravatar_id":"","url":"https://api.github.com/users/tompeeters368","html_url":"https://github.com/tompeeters368","followers_url":"https://api.github.com/users/tompeeters368/followers","following_url":"https://api.github.com/users/tompeeters368/following{/other_user}","gists_url":"https://api.github.com/users/tompeeters368/gists{/gist_id}","starred_url":"https://api.github.com/users/tompeeters368/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompeeters368/subscriptions","organizations_url":"https://api.github.com/users/tompeeters368/orgs","repos_url":"https://api.github.com/users/tompeeters368/repos","events_url":"https://api.github.com/users/tompeeters368/events{/privacy}","received_events_url":"https://api.github.com/users/tompeeters368/received_events","type":"User","site_admin":false},"repo":{"id":148212653,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTI2NTM=","name":"obs-studio","full_name":"tompeeters368/obs-studio","owner":{"login":"tompeeters368","id":5656659,"node_id":"MDQ6VXNlcjU2NTY2NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5656659?v=4","gravatar_id":"","url":"https://api.github.com/users/tompeeters368","html_url":"https://github.com/tompeeters368","followers_url":"https://api.github.com/users/tompeeters368/followers","following_url":"https://api.github.com/users/tompeeters368/following{/other_user}","gists_url":"https://api.github.com/users/tompeeters368/gists{/gist_id}","starred_url":"https://api.github.com/users/tompeeters368/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompeeters368/subscriptions","organizations_url":"https://api.github.com/users/tompeeters368/orgs","repos_url":"https://api.github.com/users/tompeeters368/repos","events_url":"https://api.github.com/users/tompeeters368/events{/privacy}","received_events_url":"https://api.github.com/users/tompeeters368/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tompeeters368/obs-studio","description":"OBS Studio - Free and open source software for live streaming and screen recording","fork":true,"url":"https://api.github.com/repos/tompeeters368/obs-studio","forks_url":"https://api.github.com/repos/tompeeters368/obs-studio/forks","keys_url":"https://api.github.com/repos/tompeeters368/obs-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tompeeters368/obs-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tompeeters368/obs-studio/teams","hooks_url":"https://api.github.com/repos/tompeeters368/obs-studio/hooks","issue_events_url":"https://api.github.com/repos/tompeeters368/obs-studio/issues/events{/number}","events_url":"https://api.github.com/repos/tompeeters368/obs-studio/events","assignees_url":"https://api.github.com/repos/tompeeters368/obs-studio/assignees{/user}","branches_url":"https://api.github.com/repos/tompeeters368/obs-studio/branches{/branch}","tags_url":"https://api.github.com/repos/tompeeters368/obs-studio/tags","blobs_url":"https://api.github.com/repos/tompeeters368/obs-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tompeeters368/obs-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tompeeters368/obs-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/tompeeters368/obs-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tompeeters368/obs-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/tompeeters368/obs-studio/languages","stargazers_url":"https://api.github.com/repos/tompeeters368/obs-studio/stargazers","contributors_url":"https://api.github.com/repos/tompeeters368/obs-studio/contributors","subscribers_url":"https://api.github.com/repos/tompeeters368/obs-studio/subscribers","subscription_url":"https://api.github.com/repos/tompeeters368/obs-studio/subscription","commits_url":"https://api.github.com/repos/tompeeters368/obs-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/tompeeters368/obs-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/tompeeters368/obs-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/tompeeters368/obs-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/tompeeters368/obs-studio/contents/{+path}","compare_url":"https://api.github.com/repos/tompeeters368/obs-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tompeeters368/obs-studio/merges","archive_url":"https://api.github.com/repos/tompeeters368/obs-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tompeeters368/obs-studio/downloads","issues_url":"https://api.github.com/repos/tompeeters368/obs-studio/issues{/number}","pulls_url":"https://api.github.com/repos/tompeeters368/obs-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/tompeeters368/obs-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/tompeeters368/obs-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tompeeters368/obs-studio/labels{/name}","releases_url":"https://api.github.com/repos/tompeeters368/obs-studio/releases{/id}","deployments_url":"https://api.github.com/repos/tompeeters368/obs-studio/deployments","created_at":"2018-09-10T20:08:18Z","updated_at":"2018-09-10T20:45:53Z","pushed_at":"2018-09-10T20:45:52Z","git_url":"git://github.com/tompeeters368/obs-studio.git","ssh_url":"git@github.com:tompeeters368/obs-studio.git","clone_url":"https://github.com/tompeeters368/obs-studio.git","svn_url":"https://github.com/tompeeters368/obs-studio","homepage":"https://obsproject.com/","size":26749,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"obsproject:master","ref":"master","sha":"6c42d07751ccd613750b90609d02bcc9c704c79d","user":{"login":"obsproject","id":7725691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3MjU2OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/7725691?v=4","gravatar_id":"","url":"https://api.github.com/users/obsproject","html_url":"https://github.com/obsproject","followers_url":"https://api.github.com/users/obsproject/followers","following_url":"https://api.github.com/users/obsproject/following{/other_user}","gists_url":"https://api.github.com/users/obsproject/gists{/gist_id}","starred_url":"https://api.github.com/users/obsproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obsproject/subscriptions","organizations_url":"https://api.github.com/users/obsproject/orgs","repos_url":"https://api.github.com/users/obsproject/repos","events_url":"https://api.github.com/users/obsproject/events{/privacy}","received_events_url":"https://api.github.com/users/obsproject/received_events","type":"Organization","site_admin":false},"repo":{"id":13233158,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIzMzE1OA==","name":"obs-studio","full_name":"obsproject/obs-studio","owner":{"login":"obsproject","id":7725691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc3MjU2OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/7725691?v=4","gravatar_id":"","url":"https://api.github.com/users/obsproject","html_url":"https://github.com/obsproject","followers_url":"https://api.github.com/users/obsproject/followers","following_url":"https://api.github.com/users/obsproject/following{/other_user}","gists_url":"https://api.github.com/users/obsproject/gists{/gist_id}","starred_url":"https://api.github.com/users/obsproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obsproject/subscriptions","organizations_url":"https://api.github.com/users/obsproject/orgs","repos_url":"https://api.github.com/users/obsproject/repos","events_url":"https://api.github.com/users/obsproject/events{/privacy}","received_events_url":"https://api.github.com/users/obsproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/obsproject/obs-studio","description":"OBS Studio - Free and open source software for live streaming and screen recording","fork":false,"url":"https://api.github.com/repos/obsproject/obs-studio","forks_url":"https://api.github.com/repos/obsproject/obs-studio/forks","keys_url":"https://api.github.com/repos/obsproject/obs-studio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obsproject/obs-studio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obsproject/obs-studio/teams","hooks_url":"https://api.github.com/repos/obsproject/obs-studio/hooks","issue_events_url":"https://api.github.com/repos/obsproject/obs-studio/issues/events{/number}","events_url":"https://api.github.com/repos/obsproject/obs-studio/events","assignees_url":"https://api.github.com/repos/obsproject/obs-studio/assignees{/user}","branches_url":"https://api.github.com/repos/obsproject/obs-studio/branches{/branch}","tags_url":"https://api.github.com/repos/obsproject/obs-studio/tags","blobs_url":"https://api.github.com/repos/obsproject/obs-studio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obsproject/obs-studio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obsproject/obs-studio/git/refs{/sha}","trees_url":"https://api.github.com/repos/obsproject/obs-studio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obsproject/obs-studio/statuses/{sha}","languages_url":"https://api.github.com/repos/obsproject/obs-studio/languages","stargazers_url":"https://api.github.com/repos/obsproject/obs-studio/stargazers","contributors_url":"https://api.github.com/repos/obsproject/obs-studio/contributors","subscribers_url":"https://api.github.com/repos/obsproject/obs-studio/subscribers","subscription_url":"https://api.github.com/repos/obsproject/obs-studio/subscription","commits_url":"https://api.github.com/repos/obsproject/obs-studio/commits{/sha}","git_commits_url":"https://api.github.com/repos/obsproject/obs-studio/git/commits{/sha}","comments_url":"https://api.github.com/repos/obsproject/obs-studio/comments{/number}","issue_comment_url":"https://api.github.com/repos/obsproject/obs-studio/issues/comments{/number}","contents_url":"https://api.github.com/repos/obsproject/obs-studio/contents/{+path}","compare_url":"https://api.github.com/repos/obsproject/obs-studio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obsproject/obs-studio/merges","archive_url":"https://api.github.com/repos/obsproject/obs-studio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obsproject/obs-studio/downloads","issues_url":"https://api.github.com/repos/obsproject/obs-studio/issues{/number}","pulls_url":"https://api.github.com/repos/obsproject/obs-studio/pulls{/number}","milestones_url":"https://api.github.com/repos/obsproject/obs-studio/milestones{/number}","notifications_url":"https://api.github.com/repos/obsproject/obs-studio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obsproject/obs-studio/labels{/name}","releases_url":"https://api.github.com/repos/obsproject/obs-studio/releases{/id}","deployments_url":"https://api.github.com/repos/obsproject/obs-studio/deployments","created_at":"2013-10-01T02:40:31Z","updated_at":"2018-09-11T13:36:32Z","pushed_at":"2018-09-11T08:51:48Z","git_url":"git://github.com/obsproject/obs-studio.git","ssh_url":"git@github.com:obsproject/obs-studio.git","clone_url":"https://github.com/obsproject/obs-studio.git","svn_url":"https://github.com/obsproject/obs-studio","homepage":"https://obsproject.com/","size":26749,"stargazers_count":10538,"watchers_count":10538,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2324,"mirror_url":null,"archived":false,"open_issues_count":85,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2324,"open_issues":85,"watchers":10538,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479"},"html":{"href":"https://github.com/obsproject/obs-studio/pull/1479"},"issue":{"href":"https://api.github.com/repos/obsproject/obs-studio/issues/1479"},"comments":{"href":"https://api.github.com/repos/obsproject/obs-studio/issues/1479/comments"},"review_comments":{"href":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479/comments"},"review_comment":{"href":"https://api.github.com/repos/obsproject/obs-studio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/obsproject/obs-studio/pulls/1479/commits"},"statuses":{"href":"https://api.github.com/repos/obsproject/obs-studio/statuses/f347f13831c9491de9cff43db3f13f2634f016aa"}},"author_association":"NONE"}}
{"actor":{"display_login":"RytoEX"}}