{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/81447502","pull_request_review_id":2429514,"id":81447502,"diff_hunk":"@@ -191,6 +191,23 @@ bool aml_support_hevc_4k2k()\n   return (has_hevc_4k2k == 1);\n }\n \n+bool aml_support_hevc_10bit()\n+{\n+  static int has_hevc_10bit = -1;\n+\n+  if (has_hevc_10bit == -1)","path":"xbmc/utils/AMLUtils.cpp","position":8,"original_position":8,"commit_id":"9d0707a73db2bf9977dea02c8d6fc4e15f772a8f","original_commit_id":"9d0707a73db2bf9977dea02c8d6fc4e15f772a8f","user":{"login":"fritsch","id":1089309,"avatar_url":"https://avatars.githubusercontent.com/u/1089309?v=3","gravatar_id":"","url":"https://api.github.com/users/fritsch","html_url":"https://github.com/fritsch","followers_url":"https://api.github.com/users/fritsch/followers","following_url":"https://api.github.com/users/fritsch/following{/other_user}","gists_url":"https://api.github.com/users/fritsch/gists{/gist_id}","starred_url":"https://api.github.com/users/fritsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritsch/subscriptions","organizations_url":"https://api.github.com/users/fritsch/orgs","repos_url":"https://api.github.com/users/fritsch/repos","events_url":"https://api.github.com/users/fritsch/events{/privacy}","received_events_url":"https://api.github.com/users/fritsch/received_events","type":"User","site_admin":false},"body":"it's a static. He wants to avoid doing the regex more than once.","created_at":"2016-10-01T10:00:43Z","updated_at":"2016-10-01T10:00:43Z","html_url":"https://github.com/xbmc/xbmc/pull/10597#discussion_r81447502","pull_request_url":"https://api.github.com/repos/xbmc/xbmc/pulls/10597","_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/81447502"},"html":{"href":"https://github.com/xbmc/xbmc/pull/10597#discussion_r81447502"},"pull_request":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10597"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/10597","id":87597683,"html_url":"https://github.com/xbmc/xbmc/pull/10597","diff_url":"https://github.com/xbmc/xbmc/pull/10597.diff","patch_url":"https://github.com/xbmc/xbmc/pull/10597.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/10597","number":10597,"state":"open","locked":false,"title":"Amlogic: fixes to hardware decoding blacklist","user":{"login":"kszaq","id":737984,"avatar_url":"https://avatars.githubusercontent.com/u/737984?v=3","gravatar_id":"","url":"https://api.github.com/users/kszaq","html_url":"https://github.com/kszaq","followers_url":"https://api.github.com/users/kszaq/followers","following_url":"https://api.github.com/users/kszaq/following{/other_user}","gists_url":"https://api.github.com/users/kszaq/gists{/gist_id}","starred_url":"https://api.github.com/users/kszaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kszaq/subscriptions","organizations_url":"https://api.github.com/users/kszaq/orgs","repos_url":"https://api.github.com/users/kszaq/repos","events_url":"https://api.github.com/users/kszaq/events{/privacy}","received_events_url":"https://api.github.com/users/kszaq/received_events","type":"User","site_admin":false},"body":"These two commits extend a list of formats when Amlogic hardware decoder should not be used.\r\n\r\n## Description\r\nAdds 2 more cases to fall back to software decoding:\r\n* High 4:2:2 and 4:4:4 profiles for all Amlogic devices, as these are not supported by H/W decoder\r\n* HEVC 10bit decoding for SoCs that don't support it (S8xx)\r\n\r\n## Motivation and Context\r\nFix black screen/artifacts when hardware decoder is used for unsupported formats.\r\n\r\n## How Has This Been Tested?\r\nCompiled and tested for LibreELEC, Kodi 17.0b2, S805 and S905 devices.\r\n\r\n## Types of change\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] My code follows the [Code guidelines](https://codedocs.xyz/xbmc/xbmc/code_guidelines.html) of this project \r\n- [ ] My change requires a change to the documentation, either Doxygen or wiki\r\n- [ ] I have updated the documentation accordingly\r\n- [x] I have read the [CONTRIBUTING](https://github.com/xbmc/xbmc/blob/master/CONTRIBUTING.md) document\r\n- [ ] I have added tests to cover my change\r\n- [ ] All new and existing tests passed","created_at":"2016-10-01T09:53:02Z","updated_at":"2016-10-01T10:00:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c86b4c91d35fc6ec0484eaf362af3090f229d16","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/10597/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/10597/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/10597/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/9d0707a73db2bf9977dea02c8d6fc4e15f772a8f","head":{"label":"kszaq:amlogic_hw_decoder_fixes","ref":"amlogic_hw_decoder_fixes","sha":"9d0707a73db2bf9977dea02c8d6fc4e15f772a8f","user":{"login":"kszaq","id":737984,"avatar_url":"https://avatars.githubusercontent.com/u/737984?v=3","gravatar_id":"","url":"https://api.github.com/users/kszaq","html_url":"https://github.com/kszaq","followers_url":"https://api.github.com/users/kszaq/followers","following_url":"https://api.github.com/users/kszaq/following{/other_user}","gists_url":"https://api.github.com/users/kszaq/gists{/gist_id}","starred_url":"https://api.github.com/users/kszaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kszaq/subscriptions","organizations_url":"https://api.github.com/users/kszaq/orgs","repos_url":"https://api.github.com/users/kszaq/repos","events_url":"https://api.github.com/users/kszaq/events{/privacy}","received_events_url":"https://api.github.com/users/kszaq/received_events","type":"User","site_admin":false},"repo":{"id":66173132,"name":"xbmc","full_name":"kszaq/xbmc","owner":{"login":"kszaq","id":737984,"avatar_url":"https://avatars.githubusercontent.com/u/737984?v=3","gravatar_id":"","url":"https://api.github.com/users/kszaq","html_url":"https://github.com/kszaq","followers_url":"https://api.github.com/users/kszaq/followers","following_url":"https://api.github.com/users/kszaq/following{/other_user}","gists_url":"https://api.github.com/users/kszaq/gists{/gist_id}","starred_url":"https://api.github.com/users/kszaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kszaq/subscriptions","organizations_url":"https://api.github.com/users/kszaq/orgs","repos_url":"https://api.github.com/users/kszaq/repos","events_url":"https://api.github.com/users/kszaq/events{/privacy}","received_events_url":"https://api.github.com/users/kszaq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kszaq/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":true,"url":"https://api.github.com/repos/kszaq/xbmc","forks_url":"https://api.github.com/repos/kszaq/xbmc/forks","keys_url":"https://api.github.com/repos/kszaq/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kszaq/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kszaq/xbmc/teams","hooks_url":"https://api.github.com/repos/kszaq/xbmc/hooks","issue_events_url":"https://api.github.com/repos/kszaq/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/kszaq/xbmc/events","assignees_url":"https://api.github.com/repos/kszaq/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/kszaq/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/kszaq/xbmc/tags","blobs_url":"https://api.github.com/repos/kszaq/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kszaq/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kszaq/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/kszaq/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kszaq/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/kszaq/xbmc/languages","stargazers_url":"https://api.github.com/repos/kszaq/xbmc/stargazers","contributors_url":"https://api.github.com/repos/kszaq/xbmc/contributors","subscribers_url":"https://api.github.com/repos/kszaq/xbmc/subscribers","subscription_url":"https://api.github.com/repos/kszaq/xbmc/subscription","commits_url":"https://api.github.com/repos/kszaq/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/kszaq/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/kszaq/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/kszaq/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/kszaq/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/kszaq/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kszaq/xbmc/merges","archive_url":"https://api.github.com/repos/kszaq/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kszaq/xbmc/downloads","issues_url":"https://api.github.com/repos/kszaq/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/kszaq/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/kszaq/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/kszaq/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kszaq/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/kszaq/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/kszaq/xbmc/deployments","created_at":"2016-08-20T23:55:59Z","updated_at":"2016-08-20T23:56:25Z","pushed_at":"2016-10-01T09:45:23Z","git_url":"git://github.com/kszaq/xbmc.git","ssh_url":"git@github.com:kszaq/xbmc.git","clone_url":"https://github.com/kszaq/xbmc.git","svn_url":"https://github.com/kszaq/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":560080,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"968059c6a01d2a33bdb79d07cc742491ccd26644","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/xbmc/deployments","created_at":"2011-01-03T21:18:51Z","updated_at":"2016-10-01T07:52:00Z","pushed_at":"2016-10-01T09:53:02Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1769422,"stargazers_count":5087,"watchers_count":5087,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3700,"mirror_url":null,"open_issues_count":192,"forks":3700,"open_issues":192,"watchers":5087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10597"},"html":{"href":"https://github.com/xbmc/xbmc/pull/10597"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/10597"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/10597/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10597/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10597/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/9d0707a73db2bf9977dea02c8d6fc4e15f772a8f"}}}}
{"actor":{"display_login":"fritsch"}}