S028: fix reopen: no TRACKS_LOCK deadlock on append after endOfStream (C test), spec page cuts at a fragment boundary
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
f2a1e1aebc
commit
72e6151339
1 changed files with 76 additions and 2 deletions
|
|
@ -144,7 +144,9 @@ appsrc, which then reached the track buffers and msesrc. Patch 6 made abort drop
|
|||
|
||||
**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`.
|
||||
source; new `gst_media_source_track_buffer_clear_eos`). `gst_source_buffer_append_buffer()` drops its own TRACKS_LOCK
|
||||
around that reopen (it held it, and the clear takes it again: a deadlock that hung the script thread). **Test:**
|
||||
mse-player smoke case `ended`; C test `/mse/reopen-append`.
|
||||
|
||||
## 11. Coded frames shrink a duration the page set (S028)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue