mxfdemux: fix keyframe detection with H264 streams
Compare changes
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
An index entry should be considered as a keyframe if the flags allow a random access only.
This issue has been highlighted with the following media: dabrain34/gst-integration-testsuites@b4245832
It was picking up a bad key-frame where keyframe_offset was NULL but random_access also.
Edit after merge: