Fix timestamps for codec translations with different sized frames