From: Burkhard P. <bur...@ig...> - 2016-04-26 17:48:28
|
Hi, Am 22.04.2016 um 10:02 schrieb Erik Johansson: > Hello, > > I was provided with a sample file which contains all open-GOP MPEG2 > essence. The structure of the file is IBBPBB... where the first two > B-frames reference a non existing keyframe. These two broken frames > are ignored thanks to an edts entry. The stss atom is empty as there > are only partial sync samples. > > The problem I found is that packet_index_create_video() marks all > frames as keyframes when there are not stss entries. Trivial fix: > > - else if(!stss) > + else if(!stss && !stps) > > Patch attached > Applied. Burkhard |