[Bug 25998] New: Move timestamp less than "presentation start time" checks after "append window" filtering

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25998

            Bug ID: 25998
           Summary: Move timestamp less than "presentation start time"
                    checks after "append window" filtering
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: acolwell@google.com
          Reporter: acolwell@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

Step 7 of the coded frame processing algorithm should be moved after steps 8-10
so that it is possible to append the middle of a media segment at the beginning
of presentation.

Say I have a media segment that spans the range [0, 10) and has a random access
point at time 5. To insert the range [5-10) at time 0, I would need to set
timestampOffset to -5 before appending. The current location of the check would
cause a "decode" error because the coded frame for presentation time 0 would
become -5. If the check is moved after the append window, the coded frames with
negative timestamps are automatically filtered out and the "decode" error is
avoided.

As I side note, I realized that the constraints for setting appendWindowStart
actually enforces "presentation timestamp > 0" so I can technically drop the
presentation timestamp part of the check in Step 7.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 6 June 2014 01:45:42 UTC