{"action":"opened","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/544","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/544/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/544/events","html_url":"https://github.com/google/ExoPlayer/issues/544","id":88128990,"number":544,"title":"Guidance on decimating sample queue to reduce playback frame rate","user":{"login":"trandroid","id":1665632,"avatar_url":"https://avatars.githubusercontent.com/u/1665632?v=3","gravatar_id":"","url":"https://api.github.com/users/trandroid","html_url":"https://github.com/trandroid","followers_url":"https://api.github.com/users/trandroid/followers","following_url":"https://api.github.com/users/trandroid/following{/other_user}","gists_url":"https://api.github.com/users/trandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/trandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trandroid/subscriptions","organizations_url":"https://api.github.com/users/trandroid/orgs","repos_url":"https://api.github.com/users/trandroid/repos","events_url":"https://api.github.com/users/trandroid/events{/privacy}","received_events_url":"https://api.github.com/users/trandroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-14T06:03:36Z","updated_at":"2015-06-14T06:03:36Z","closed_at":null,"body":"I have an MP4 with high (120fps) frame rate that I would like to play back at 30fps.\r\nIt seems like I could extend `ExtractorSampleSource` and override `readData()`. It would call `sampleQueue.getSample()` not once but rather in a loop, discarding video samples until it found one with a timestamp that matched the desired 30fps frame rate.\r\nI would also have to make sure sync frames are injected when needed.\r\n\r\nIs this a reasonable way to go?"}}