{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/217496457","pull_request_review_id":155223978,"id":217496457,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzQ5NjQ1Nw==","diff_hunk":"@@ -109,3 +109,40 @@ void CEGLImage::DestroyImage()\n {\n   m_eglDestroyImageKHR(m_display, m_image);\n }\n+\n+int CEGLImage::GetColorSpace(int colorSpace, int width, int height)\n+{\n+  switch(colorSpace)\n+  {\n+    case 10: // BT2020_CL","path":"xbmc/utils/EGLImage.cpp","position":20,"original_position":20,"commit_id":"46b827bf6ac28dbe5f4f4cf30514cb4fcfce97eb","original_commit_id":"46b827bf6ac28dbe5f4f4cf30514cb4fcfce97eb","user":{"login":"FernetMenta","id":576009,"node_id":"MDQ6VXNlcjU3NjAwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/576009?v=4","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"body":"magic numbers?","created_at":"2018-09-13T18:54:07Z","updated_at":"2018-09-13T18:54:07Z","html_url":"https://github.com/xbmc/xbmc/pull/14432#discussion_r217496457","pull_request_url":"https://api.github.com/repos/xbmc/xbmc/pulls/14432","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/217496457"},"html":{"href":"https://github.com/xbmc/xbmc/pull/14432#discussion_r217496457"},"pull_request":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14432"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/14432","id":215363146,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MzYzMTQ2","html_url":"https://github.com/xbmc/xbmc/pull/14432","diff_url":"https://github.com/xbmc/xbmc/pull/14432.diff","patch_url":"https://github.com/xbmc/xbmc/pull/14432.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/14432","number":14432,"state":"open","locked":false,"title":" CDRMPRIMEEGL: specify EGL colorspace and colorrange","user":{"login":"lrusak","id":1616460,"node_id":"MDQ6VXNlcjE2MTY0NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1616460?v=4","gravatar_id":"","url":"https://api.github.com/users/lrusak","html_url":"https://github.com/lrusak","followers_url":"https://api.github.com/users/lrusak/followers","following_url":"https://api.github.com/users/lrusak/following{/other_user}","gists_url":"https://api.github.com/users/lrusak/gists{/gist_id}","starred_url":"https://api.github.com/users/lrusak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrusak/subscriptions","organizations_url":"https://api.github.com/users/lrusak/orgs","repos_url":"https://api.github.com/users/lrusak/repos","events_url":"https://api.github.com/users/lrusak/events{/privacy}","received_events_url":"https://api.github.com/users/lrusak/received_events","type":"User","site_admin":false},"body":"This converts the colorange and colorspace like so:\r\nAVColorSpace -> EGL_YUV_COLOR_SPACE_HINT_EXT\r\nAVColorRange -> EGL_SAMPLE_RANGE_HINT_EXT\r\n\r\nNeeds some testing to make sure I don't break Retroplayer GBM Renderer.\r\n\r\n\r\n@Kwiboo for review 😸 ","created_at":"2018-09-13T17:50:36Z","updated_at":"2018-09-13T18:54:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2069a067340323543769f6c6d999f1201a2b9ac8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":278156425,"node_id":"MDU6TGFiZWwyNzgxNTY0MjU=","url":"https://api.github.com/repos/xbmc/xbmc/labels/Linux","name":"Linux","color":"006b75","default":false},{"id":277024034,"node_id":"MDU6TGFiZWwyNzcwMjQwMzQ=","url":"https://api.github.com/repos/xbmc/xbmc/labels/Rendering%20Video","name":"Rendering Video","color":"009800","default":false},{"id":400751192,"node_id":"MDU6TGFiZWw0MDA3NTExOTI=","url":"https://api.github.com/repos/xbmc/xbmc/labels/v18%20Leia","name":"v18 Leia","color":"fbca04","default":false}],"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/112","html_url":"https://github.com/xbmc/xbmc/milestone/112","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/112/labels","id":3580563,"node_id":"MDk6TWlsZXN0b25lMzU4MDU2Mw==","number":112,"title":"Leia 18.0-beta3","description":"","creator":{"login":"MartijnKaijser","id":907436,"node_id":"MDQ6VXNlcjkwNzQzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/907436?v=4","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":20,"state":"open","created_at":"2018-08-18T09:53:33Z","updated_at":"2018-09-13T17:51:59Z","due_on":"2018-09-29T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/14432/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/14432/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/14432/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/46b827bf6ac28dbe5f4f4cf30514cb4fcfce97eb","head":{"label":"lrusak:drmprimegles-1img-colorspace","ref":"drmprimegles-1img-colorspace","sha":"46b827bf6ac28dbe5f4f4cf30514cb4fcfce97eb","user":{"login":"lrusak","id":1616460,"node_id":"MDQ6VXNlcjE2MTY0NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1616460?v=4","gravatar_id":"","url":"https://api.github.com/users/lrusak","html_url":"https://github.com/lrusak","followers_url":"https://api.github.com/users/lrusak/followers","following_url":"https://api.github.com/users/lrusak/following{/other_user}","gists_url":"https://api.github.com/users/lrusak/gists{/gist_id}","starred_url":"https://api.github.com/users/lrusak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrusak/subscriptions","organizations_url":"https://api.github.com/users/lrusak/orgs","repos_url":"https://api.github.com/users/lrusak/repos","events_url":"https://api.github.com/users/lrusak/events{/privacy}","received_events_url":"https://api.github.com/users/lrusak/received_events","type":"User","site_admin":false},"repo":{"id":20713274,"node_id":"MDEwOlJlcG9zaXRvcnkyMDcxMzI3NA==","name":"xbmc","full_name":"lrusak/xbmc","owner":{"login":"lrusak","id":1616460,"node_id":"MDQ6VXNlcjE2MTY0NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1616460?v=4","gravatar_id":"","url":"https://api.github.com/users/lrusak","html_url":"https://github.com/lrusak","followers_url":"https://api.github.com/users/lrusak/followers","following_url":"https://api.github.com/users/lrusak/following{/other_user}","gists_url":"https://api.github.com/users/lrusak/gists{/gist_id}","starred_url":"https://api.github.com/users/lrusak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrusak/subscriptions","organizations_url":"https://api.github.com/users/lrusak/orgs","repos_url":"https://api.github.com/users/lrusak/repos","events_url":"https://api.github.com/users/lrusak/events{/privacy}","received_events_url":"https://api.github.com/users/lrusak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lrusak/xbmc","description":"XBMC Main Repository","fork":true,"url":"https://api.github.com/repos/lrusak/xbmc","forks_url":"https://api.github.com/repos/lrusak/xbmc/forks","keys_url":"https://api.github.com/repos/lrusak/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lrusak/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lrusak/xbmc/teams","hooks_url":"https://api.github.com/repos/lrusak/xbmc/hooks","issue_events_url":"https://api.github.com/repos/lrusak/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/lrusak/xbmc/events","assignees_url":"https://api.github.com/repos/lrusak/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/lrusak/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/lrusak/xbmc/tags","blobs_url":"https://api.github.com/repos/lrusak/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lrusak/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lrusak/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/lrusak/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lrusak/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/lrusak/xbmc/languages","stargazers_url":"https://api.github.com/repos/lrusak/xbmc/stargazers","contributors_url":"https://api.github.com/repos/lrusak/xbmc/contributors","subscribers_url":"https://api.github.com/repos/lrusak/xbmc/subscribers","subscription_url":"https://api.github.com/repos/lrusak/xbmc/subscription","commits_url":"https://api.github.com/repos/lrusak/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/lrusak/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/lrusak/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/lrusak/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/lrusak/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/lrusak/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lrusak/xbmc/merges","archive_url":"https://api.github.com/repos/lrusak/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lrusak/xbmc/downloads","issues_url":"https://api.github.com/repos/lrusak/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/lrusak/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/lrusak/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/lrusak/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lrusak/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/lrusak/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/lrusak/xbmc/deployments","created_at":"2014-06-11T05:20:54Z","updated_at":"2017-05-20T11:17:59Z","pushed_at":"2018-09-13T17:48:09Z","git_url":"git://github.com/lrusak/xbmc.git","ssh_url":"git@github.com:lrusak/xbmc.git","clone_url":"https://github.com/lrusak/xbmc.git","svn_url":"https://github.com/lrusak/xbmc","homepage":"http://xbmc.org","size":634644,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"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":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"e313d39ff78d45b84558585bdc39ded7ba3a56d0","user":{"login":"xbmc","id":199122,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/199122?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE3NjE0","name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/199122?v=4","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 is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, Linux, macOS, iOS and Windows.","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":"2018-09-13T17:37:34Z","pushed_at":"2018-09-13T18:17:18Z","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":"https://kodi.tv/","size":1466490,"stargazers_count":7380,"watchers_count":7380,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4712,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4712,"open_issues":108,"watchers":7380,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14432"},"html":{"href":"https://github.com/xbmc/xbmc/pull/14432"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/14432"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/14432/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14432/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14432/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/46b827bf6ac28dbe5f4f4cf30514cb4fcfce97eb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"FernetMenta"}}