{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/3914","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/3914/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/3914/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/3914/events","html_url":"https://github.com/mpv-player/mpv/issues/3914","id":196226415,"number":3914,"title":"cuda bug: falling back to software decoding doesn't play video from the beginning","user":{"login":"pavelxdd","id":7561226,"avatar_url":"https://avatars.githubusercontent.com/u/7561226?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelxdd","html_url":"https://github.com/pavelxdd","followers_url":"https://api.github.com/users/pavelxdd/followers","following_url":"https://api.github.com/users/pavelxdd/following{/other_user}","gists_url":"https://api.github.com/users/pavelxdd/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelxdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelxdd/subscriptions","organizations_url":"https://api.github.com/users/pavelxdd/orgs","repos_url":"https://api.github.com/users/pavelxdd/repos","events_url":"https://api.github.com/users/pavelxdd/events{/privacy}","received_events_url":"https://api.github.com/users/pavelxdd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-17T15:09:08Z","updated_at":"2016-12-17T15:18:21Z","closed_at":null,"body":"### mpv version and platform\r\n````\r\nmpv git-2b8b174 (C) 2000-2016 mpv/MPlayer/mplayer2 projects\r\n built on Fri Dec 16 19:04:39 MSK 2016\r\nffmpeg library versions:\r\n   libavutil       55.43.100\r\n   libavcodec      57.68.100\r\n   libavformat     57.60.100\r\n   libswscale      4.3.101\r\n   libavfilter     6.68.100\r\n   libswresample   2.4.100\r\nffmpeg version: git-2016-12-16-a5cf600\r\n````\r\n\r\n### Reproduction steps\r\n`mpv --no-config 10bit-eldorado.mkv --hwdec=cuda --opengl-backend=dxinterop`\r\n\r\n### Expected behavior\r\nCUDA fails to decode 10-bit h264 and mpv falls back to software decoding. Playback starts from `00:00`\r\n\r\n### Actual behavior\r\nPlayback starts from `00:07`. It happens only when trying hwdec=cuda, and doesn't happen with other hardware decoders.\r\n\r\n### Log file\r\nhttp://sprunge.us/gARO\r\n\r\n### Sample files\r\nAny 10-bit h264 (assuming that your GPU can't decode them)\r\nhttps://ps-auxw.de/10bit-h264-sample/10bit-eldorado.mkv\r\n\r\n@philipl do you know what could be the problem here?"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/267768061","html_url":"https://github.com/mpv-player/mpv/issues/3914#issuecomment-267768061","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/3914","id":267768061,"user":{"login":"pavelxdd","id":7561226,"avatar_url":"https://avatars.githubusercontent.com/u/7561226?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelxdd","html_url":"https://github.com/pavelxdd","followers_url":"https://api.github.com/users/pavelxdd/followers","following_url":"https://api.github.com/users/pavelxdd/following{/other_user}","gists_url":"https://api.github.com/users/pavelxdd/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelxdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelxdd/subscriptions","organizations_url":"https://api.github.com/users/pavelxdd/orgs","repos_url":"https://api.github.com/users/pavelxdd/repos","events_url":"https://api.github.com/users/pavelxdd/events{/privacy}","received_events_url":"https://api.github.com/users/pavelxdd/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T15:18:21Z","updated_at":"2016-12-17T15:18:21Z","body":"Can for example mpv remember the current frame before probing hwdec, and when hwdec fails, jump back to that frame?"}}
{"actor":{"display_login":"pavelxdd"}}