S028: patch write-up 10-11; plan boxes 2-5 ticked (mse-player 9/9, media unit tests green)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
5534ee72be
commit
84f723f817
1 changed files with 23 additions and 4 deletions
|
|
@ -136,6 +136,25 @@ to `0..+inf`, so it failed too.
|
|||
**Fix.** The check is `start >= append_window_end` (an end of `GST_CLOCK_TIME_NONE` is +infinity in the unsigned
|
||||
compare). **Test:** `/mse/remove` sets the window.
|
||||
|
||||
## 10. endOfStream never reaches msesrc (S028)
|
||||
|
||||
**What.** Upstream `gst_media_source_end_of_stream()` relied on `abort_all_source_buffers()` pushing EOS into each
|
||||
appsrc, which then reached the track buffers and msesrc. Patch 6 made abort drop data instead, so after
|
||||
`endOfStream()` msesrc never sent EOS and the element never fired `ended`.
|
||||
|
||||
**Fix.** End of stream (no error) marks every track buffer of every source buffer EOS (`gst_source_buffer_set_eos`,
|
||||
under TRACKS_LOCK); `gst_media_source_open()` clears it again when the state was ENDED (a new append reopens the
|
||||
source; new `gst_media_source_track_buffer_clear_eos`). **Test:** mse-player smoke case `ended`.
|
||||
|
||||
## 11. Coded frames shrink a duration the page set (S028)
|
||||
|
||||
**What.** `on_duration_changed()` set the duration to the highest buffered end whenever buffers arrived, so a page
|
||||
that set `duration = 5` and appended the first second got its duration cut back to 1.0; the element then clamped a
|
||||
seek to 3.5 back to 1.0. The spec only raises the duration from coded frames.
|
||||
|
||||
**Fix.** The handler returns when the current duration is valid and not below the new maximum. **Test:** mse-player
|
||||
smoke case `seekUnbuffered`.
|
||||
|
||||
## Found, not fixed here
|
||||
|
||||
- `gst_source_buffer_change_content_type()` always fails (NotSupported). Nacre's backend accepts a change within the
|
||||
|
|
|
|||
Loading…
Reference in a new issue