Bug 204654

Summary: [GStreamer] WebKitWebSrc fails to seek on response to qtdemux_pull_mfro_mfra()
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, calvaris, cturner, pnormand
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Repro none

Alicia Boya García
Reported 2019-11-27 15:22:06 PST
Created attachment 384427 [details] Repro When playing a fragmented MP4 file of known size in pull mode, just after finding the first moof, qtdemux will try read the the last few bytes of the file to parse the `mfro/mfra` index calling qtdemux_pull_mfro_mfra(). If the entire file has not been buffered at this point by the downloadbuffer element, which is the case for big enough files, it will send a SEEK event to webkitwebsrc, which will never send data back. The attached file is a repro of the bug. The bug has been reproduced while serving the files with lighttpd. Note despite of the small size of the compressed test case, the video file decompresses to >1 GB (made this way to ensure the bug is hit easily and still fit in Bugzilla).
Attachments
Repro (2.68 MB, application/x-xz)
2019-11-27 15:22 PST, Alicia Boya García
no flags
Xabier Rodríguez Calvar
Comment 1 2019-11-28 01:06:11 PST
I am dealing with some source improvements, I think I can tackle this just after those.
Alicia Boya García
Comment 2 2020-05-14 01:42:32 PDT
*** This bug has been marked as a duplicate of bug 210284 ***
Note You need to log in before you can comment on or make changes to this bug.