{"push_id":900043773,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"374f3d27a73cffe8f84c47e1b30e1f66dc234cd6","before":"74a024a1c397b00ed45d4320e4594761585e4179","commits":[{"sha":"374f3d27a73cffe8f84c47e1b30e1f66dc234cd6","author":{"email":"2ece23298f06d9fb45772fdb1d38086918c80f44@human-ark.com","name":"Dominik Bartkiewicz"},"message":"FIX  ffmpeginput to read all frame.\nTest with ffmpeg-2.8.1\n\nFirst it resolved problem with codec AV_CODEC_CAP_DELAY\nhttp://www.ffmpeg.org/doxygen/2.8/group__lavc__decoding.html#ga99ee61b6dcffb7817a275d39da58cc74\n\nsecond i remove condition to run avcodec_decode_video2 this make that we\nput to codec only frame with pts >= pts we looking thats why we see only\nkey frames.\n    if (current_pos >= m_subimage) {\n        avcodec_decode_video2 (m_codec_context, m_frame, &finished, &pkt)\n    }\n\nLast I add if (current_frame == frame && finished) to be sure we display\nexactly this frame we need (current_frame is take from m_frame->pkt_pts\nhttp://www.ffmpeg.org/doxygen/2.8/structAVFrame.html#a47f555732f9c18928de727a163cd7cb6\n). this can make infinity loop when something go wrong.\n\nI have not tested this on codec with bi-directional frame.","distinct":true,"url":"https://api.github.com/repos/OpenImageIO/oiio/commits/374f3d27a73cffe8f84c47e1b30e1f66dc234cd6"}]}