First rev of changes to support indexing of all frame types (I, P, B etc.)
Youtrack issue CVP2RI-299.
Testing in progress.