{"action":"created","comment":{"url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/comments/241297870","pull_request_review_id":184533090,"id":241297870,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTI5Nzg3MA==","diff_hunk":"@@ -22,169 +22,108 @@ or https://software.intel.com/en-us/media-client-solutions-support.\n #include \"vaapi_utils_drm.h\"\n #include \"vaapi_allocator.h\"\n #include <fcntl.h>\n+#include <sys/ioctl.h>\n \n-#include <dirent.h>\n #include <stdexcept>\n+#include <vector>\n+#include <sstream>\n \n+#include \"vaapi_utils_drm.h\"\n #include <drm_fourcc.h>\n-#include <intel_bufmgr.h>\n-\n-#define MFX_PCI_DIR \"/sys/bus/pci/devices\"\n-#define MFX_DRI_DIR \"/dev/dri/\"\n-#define MFX_PCI_DISPLAY_CONTROLLER_CLASS 0x03\n \n-struct mfx_disp_adapters\n-{\n-    mfxU32 vendor_id;\n-    mfxU32 device_id;\n+const mfxU32 MFX_DRI_MAX_NODES_NUM = 16;\n+const mfxU32 MFX_DRI_RENDER_START_INDEX = 128;\n+const mfxU32 MFX_DRM_DRIVER_NAME_LEN = 4;\n+const std::string MFX_DRM_INTEL_DRIVER_NAME = \"i915\";\n+const std::string MFX_DRI_NODE_RENDER_PATH = \"/dev/dri/renderD\";\n+const std::string MFX_DRI_NODE_CARD_PATH = \"/dev/dri/card\";\n+\n+enum {\n+    MFX_DRI_NODE_RENDER,\n+    MFX_DRI_NODE_CARD,\n+    MFX_DRI_NODE_NUM\n };\n \n-static int mfx_dir_filter(const struct dirent* dir_ent)\n+bool get_drm_driver_name(int fd, char *name, int name_size)\n {\n-    if (!dir_ent) return 0;\n-    if (!strcmp(dir_ent->d_name, \".\")) return 0;\n-    if (!strcmp(dir_ent->d_name, \"..\")) return 0;\n-    return 1;\n-}\n+    drm_version_t version = {};\n+    version.name_len = name_size;\n+    version.name = name;\n \n-typedef int (*fsort)(const struct dirent**, const struct dirent**);\n+    if (ioctl(fd, DRM_IOWR(0, drm_version), &version)) {","path":"samples/sample_common/src/vaapi_utils_drm.cpp","position":48,"original_position":49,"commit_id":"bcae78e3196ef5a0ba3e814e30d6dd541c17a665","original_commit_id":"241b54f936e699a02b0fb8a1a423d0a032d53954","user":{"login":"vilichev","id":38354679,"node_id":"MDQ6VXNlcjM4MzU0Njc5","avatar_url":"https://avatars0.githubusercontent.com/u/38354679?v=4","gravatar_id":"","url":"https://api.github.com/users/vilichev","html_url":"https://github.com/vilichev","followers_url":"https://api.github.com/users/vilichev/followers","following_url":"https://api.github.com/users/vilichev/following{/other_user}","gists_url":"https://api.github.com/users/vilichev/gists{/gist_id}","starred_url":"https://api.github.com/users/vilichev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilichev/subscriptions","organizations_url":"https://api.github.com/users/vilichev/orgs","repos_url":"https://api.github.com/users/vilichev/repos","events_url":"https://api.github.com/users/vilichev/events{/privacy}","received_events_url":"https://api.github.com/users/vilichev/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2018-12-13T07:45:21Z","updated_at":"2018-12-13T07:45:21Z","html_url":"https://github.com/Intel-Media-SDK/MediaSDK/pull/1004#discussion_r241297870","pull_request_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/comments/241297870"},"html":{"href":"https://github.com/Intel-Media-SDK/MediaSDK/pull/1004#discussion_r241297870"},"pull_request":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004"}},"in_reply_to_id":240762007},"pull_request":{"url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004","id":237721920,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NzIxOTIw","html_url":"https://github.com/Intel-Media-SDK/MediaSDK/pull/1004","diff_url":"https://github.com/Intel-Media-SDK/MediaSDK/pull/1004.diff","patch_url":"https://github.com/Intel-Media-SDK/MediaSDK/pull/1004.patch","issue_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues/1004","number":1004,"state":"open","locked":false,"title":"[samples] fix drm drivers detection","user":{"login":"vilichev","id":38354679,"node_id":"MDQ6VXNlcjM4MzU0Njc5","avatar_url":"https://avatars0.githubusercontent.com/u/38354679?v=4","gravatar_id":"","url":"https://api.github.com/users/vilichev","html_url":"https://github.com/vilichev","followers_url":"https://api.github.com/users/vilichev/followers","following_url":"https://api.github.com/users/vilichev/following{/other_user}","gists_url":"https://api.github.com/users/vilichev/gists{/gist_id}","starred_url":"https://api.github.com/users/vilichev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilichev/subscriptions","organizations_url":"https://api.github.com/users/vilichev/orgs","repos_url":"https://api.github.com/users/vilichev/repos","events_url":"https://api.github.com/users/vilichev/events{/privacy}","received_events_url":"https://api.github.com/users/vilichev/received_events","type":"User","site_admin":false},"body":"Current mechanism to detect Intel drm drivers uses the following schema:\r\n1) Walk through the list of PCI devices, get device properties\r\n   (Vendor ID) and calculate number of PCI devices  that corresponds\r\n   to ‘DISPLAY_CONTROLLER_CLASS’ (adapters_num)\r\n2) Use adapters_num to get path to /dev/dri/cardN and /dev/dri/renderDN\r\n   with checking for Vendor ID.\r\nBut this approach is not working in some cases. For example, if PCI device\r\nis present but corresponding driver is not set up. So it can be attempt to\r\nopen wrong /dev/dri/renderN and /dev/dri/cardN  paths.\r\n\r\nNew approach is based on checking for /dev/dri/renderD<N> (N=0..15) with\r\ndrm request for driver name.","created_at":"2018-12-11T15:29:47Z","updated_at":"2018-12-13T07:45:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"653a6e9d2fc7d1afcd200ad7677b40a5c7d45fd0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"fzhar","id":16080958,"node_id":"MDQ6VXNlcjE2MDgwOTU4","avatar_url":"https://avatars1.githubusercontent.com/u/16080958?v=4","gravatar_id":"","url":"https://api.github.com/users/fzhar","html_url":"https://github.com/fzhar","followers_url":"https://api.github.com/users/fzhar/followers","following_url":"https://api.github.com/users/fzhar/following{/other_user}","gists_url":"https://api.github.com/users/fzhar/gists{/gist_id}","starred_url":"https://api.github.com/users/fzhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzhar/subscriptions","organizations_url":"https://api.github.com/users/fzhar/orgs","repos_url":"https://api.github.com/users/fzhar/repos","events_url":"https://api.github.com/users/fzhar/events{/privacy}","received_events_url":"https://api.github.com/users/fzhar/received_events","type":"User","site_admin":false},{"login":"alariono","id":29895345,"node_id":"MDQ6VXNlcjI5ODk1MzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/29895345?v=4","gravatar_id":"","url":"https://api.github.com/users/alariono","html_url":"https://github.com/alariono","followers_url":"https://api.github.com/users/alariono/followers","following_url":"https://api.github.com/users/alariono/following{/other_user}","gists_url":"https://api.github.com/users/alariono/gists{/gist_id}","starred_url":"https://api.github.com/users/alariono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alariono/subscriptions","organizations_url":"https://api.github.com/users/alariono/orgs","repos_url":"https://api.github.com/users/alariono/repos","events_url":"https://api.github.com/users/alariono/events{/privacy}","received_events_url":"https://api.github.com/users/alariono/received_events","type":"User","site_admin":false},{"login":"takulako","id":35995194,"node_id":"MDQ6VXNlcjM1OTk1MTk0","avatar_url":"https://avatars3.githubusercontent.com/u/35995194?v=4","gravatar_id":"","url":"https://api.github.com/users/takulako","html_url":"https://github.com/takulako","followers_url":"https://api.github.com/users/takulako/followers","following_url":"https://api.github.com/users/takulako/following{/other_user}","gists_url":"https://api.github.com/users/takulako/gists{/gist_id}","starred_url":"https://api.github.com/users/takulako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takulako/subscriptions","organizations_url":"https://api.github.com/users/takulako/orgs","repos_url":"https://api.github.com/users/takulako/repos","events_url":"https://api.github.com/users/takulako/events{/privacy}","received_events_url":"https://api.github.com/users/takulako/received_events","type":"User","site_admin":false}],"requested_teams":[{"name":"MediaSDK-Admin","id":2634406,"node_id":"MDQ6VGVhbTI2MzQ0MDY=","slug":"mediasdk-admin","description":"","privacy":"closed","url":"https://api.github.com/teams/2634406","members_url":"https://api.github.com/teams/2634406/members{/member}","repositories_url":"https://api.github.com/teams/2634406/repos","permission":"pull"}],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004/commits","review_comments_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004/comments","review_comment_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues/1004/comments","statuses_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/statuses/bcae78e3196ef5a0ba3e814e30d6dd541c17a665","head":{"label":"vilichev:drm_fix","ref":"drm_fix","sha":"bcae78e3196ef5a0ba3e814e30d6dd541c17a665","user":{"login":"vilichev","id":38354679,"node_id":"MDQ6VXNlcjM4MzU0Njc5","avatar_url":"https://avatars0.githubusercontent.com/u/38354679?v=4","gravatar_id":"","url":"https://api.github.com/users/vilichev","html_url":"https://github.com/vilichev","followers_url":"https://api.github.com/users/vilichev/followers","following_url":"https://api.github.com/users/vilichev/following{/other_user}","gists_url":"https://api.github.com/users/vilichev/gists{/gist_id}","starred_url":"https://api.github.com/users/vilichev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilichev/subscriptions","organizations_url":"https://api.github.com/users/vilichev/orgs","repos_url":"https://api.github.com/users/vilichev/repos","events_url":"https://api.github.com/users/vilichev/events{/privacy}","received_events_url":"https://api.github.com/users/vilichev/received_events","type":"User","site_admin":false},"repo":{"id":161342558,"node_id":"MDEwOlJlcG9zaXRvcnkxNjEzNDI1NTg=","name":"MediaSDK","full_name":"vilichev/MediaSDK","private":false,"owner":{"login":"vilichev","id":38354679,"node_id":"MDQ6VXNlcjM4MzU0Njc5","avatar_url":"https://avatars0.githubusercontent.com/u/38354679?v=4","gravatar_id":"","url":"https://api.github.com/users/vilichev","html_url":"https://github.com/vilichev","followers_url":"https://api.github.com/users/vilichev/followers","following_url":"https://api.github.com/users/vilichev/following{/other_user}","gists_url":"https://api.github.com/users/vilichev/gists{/gist_id}","starred_url":"https://api.github.com/users/vilichev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilichev/subscriptions","organizations_url":"https://api.github.com/users/vilichev/orgs","repos_url":"https://api.github.com/users/vilichev/repos","events_url":"https://api.github.com/users/vilichev/events{/privacy}","received_events_url":"https://api.github.com/users/vilichev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vilichev/MediaSDK","description":"The Intel® Media SDK","fork":true,"url":"https://api.github.com/repos/vilichev/MediaSDK","forks_url":"https://api.github.com/repos/vilichev/MediaSDK/forks","keys_url":"https://api.github.com/repos/vilichev/MediaSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vilichev/MediaSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vilichev/MediaSDK/teams","hooks_url":"https://api.github.com/repos/vilichev/MediaSDK/hooks","issue_events_url":"https://api.github.com/repos/vilichev/MediaSDK/issues/events{/number}","events_url":"https://api.github.com/repos/vilichev/MediaSDK/events","assignees_url":"https://api.github.com/repos/vilichev/MediaSDK/assignees{/user}","branches_url":"https://api.github.com/repos/vilichev/MediaSDK/branches{/branch}","tags_url":"https://api.github.com/repos/vilichev/MediaSDK/tags","blobs_url":"https://api.github.com/repos/vilichev/MediaSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vilichev/MediaSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vilichev/MediaSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/vilichev/MediaSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vilichev/MediaSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/vilichev/MediaSDK/languages","stargazers_url":"https://api.github.com/repos/vilichev/MediaSDK/stargazers","contributors_url":"https://api.github.com/repos/vilichev/MediaSDK/contributors","subscribers_url":"https://api.github.com/repos/vilichev/MediaSDK/subscribers","subscription_url":"https://api.github.com/repos/vilichev/MediaSDK/subscription","commits_url":"https://api.github.com/repos/vilichev/MediaSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/vilichev/MediaSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/vilichev/MediaSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/vilichev/MediaSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/vilichev/MediaSDK/contents/{+path}","compare_url":"https://api.github.com/repos/vilichev/MediaSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vilichev/MediaSDK/merges","archive_url":"https://api.github.com/repos/vilichev/MediaSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vilichev/MediaSDK/downloads","issues_url":"https://api.github.com/repos/vilichev/MediaSDK/issues{/number}","pulls_url":"https://api.github.com/repos/vilichev/MediaSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/vilichev/MediaSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/vilichev/MediaSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vilichev/MediaSDK/labels{/name}","releases_url":"https://api.github.com/repos/vilichev/MediaSDK/releases{/id}","deployments_url":"https://api.github.com/repos/vilichev/MediaSDK/deployments","created_at":"2018-12-11T14:01:59Z","updated_at":"2018-12-11T14:02:06Z","pushed_at":"2018-12-12T16:09:18Z","git_url":"git://github.com/vilichev/MediaSDK.git","ssh_url":"git@github.com:vilichev/MediaSDK.git","clone_url":"https://github.com/vilichev/MediaSDK.git","svn_url":"https://github.com/vilichev/MediaSDK","homepage":"http://mediasdk.intel.com","size":28171,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Intel-Media-SDK:master","ref":"master","sha":"5978a47575f63a3522763f67f0fbcc816231a77a","user":{"login":"Intel-Media-SDK","id":16081150,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDgxMTUw","avatar_url":"https://avatars1.githubusercontent.com/u/16081150?v=4","gravatar_id":"","url":"https://api.github.com/users/Intel-Media-SDK","html_url":"https://github.com/Intel-Media-SDK","followers_url":"https://api.github.com/users/Intel-Media-SDK/followers","following_url":"https://api.github.com/users/Intel-Media-SDK/following{/other_user}","gists_url":"https://api.github.com/users/Intel-Media-SDK/gists{/gist_id}","starred_url":"https://api.github.com/users/Intel-Media-SDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intel-Media-SDK/subscriptions","organizations_url":"https://api.github.com/users/Intel-Media-SDK/orgs","repos_url":"https://api.github.com/users/Intel-Media-SDK/repos","events_url":"https://api.github.com/users/Intel-Media-SDK/events{/privacy}","received_events_url":"https://api.github.com/users/Intel-Media-SDK/received_events","type":"Organization","site_admin":false},"repo":{"id":87199173,"node_id":"MDEwOlJlcG9zaXRvcnk4NzE5OTE3Mw==","name":"MediaSDK","full_name":"Intel-Media-SDK/MediaSDK","private":false,"owner":{"login":"Intel-Media-SDK","id":16081150,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDgxMTUw","avatar_url":"https://avatars1.githubusercontent.com/u/16081150?v=4","gravatar_id":"","url":"https://api.github.com/users/Intel-Media-SDK","html_url":"https://github.com/Intel-Media-SDK","followers_url":"https://api.github.com/users/Intel-Media-SDK/followers","following_url":"https://api.github.com/users/Intel-Media-SDK/following{/other_user}","gists_url":"https://api.github.com/users/Intel-Media-SDK/gists{/gist_id}","starred_url":"https://api.github.com/users/Intel-Media-SDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intel-Media-SDK/subscriptions","organizations_url":"https://api.github.com/users/Intel-Media-SDK/orgs","repos_url":"https://api.github.com/users/Intel-Media-SDK/repos","events_url":"https://api.github.com/users/Intel-Media-SDK/events{/privacy}","received_events_url":"https://api.github.com/users/Intel-Media-SDK/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Intel-Media-SDK/MediaSDK","description":"The Intel® Media SDK","fork":false,"url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK","forks_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/forks","keys_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/teams","hooks_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/hooks","issue_events_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues/events{/number}","events_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/events","assignees_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/assignees{/user}","branches_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/branches{/branch}","tags_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/tags","blobs_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/languages","stargazers_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/stargazers","contributors_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/contributors","subscribers_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/subscribers","subscription_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/subscription","commits_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/contents/{+path}","compare_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/merges","archive_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/downloads","issues_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues{/number}","pulls_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/labels{/name}","releases_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/releases{/id}","deployments_url":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/deployments","created_at":"2017-04-04T14:52:06Z","updated_at":"2018-12-12T14:51:42Z","pushed_at":"2018-12-13T07:37:05Z","git_url":"git://github.com/Intel-Media-SDK/MediaSDK.git","ssh_url":"git@github.com:Intel-Media-SDK/MediaSDK.git","clone_url":"https://github.com/Intel-Media-SDK/MediaSDK.git","svn_url":"https://github.com/Intel-Media-SDK/MediaSDK","homepage":"http://mediasdk.intel.com","size":28171,"stargazers_count":238,"watchers_count":238,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"archived":false,"open_issues_count":107,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":146,"open_issues":107,"watchers":238,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004"},"html":{"href":"https://github.com/Intel-Media-SDK/MediaSDK/pull/1004"},"issue":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues/1004"},"comments":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/issues/1004/comments"},"review_comments":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004/comments"},"review_comment":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/pulls/1004/commits"},"statuses":{"href":"https://api.github.com/repos/Intel-Media-SDK/MediaSDK/statuses/bcae78e3196ef5a0ba3e814e30d6dd541c17a665"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vilichev"}}