[Webkit-unassigned] [Bug 56315] SPOD with stalled media element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 14 11:12:57 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56315
--- Comment #1 from Eric Carlson <eric.carlson at apple.com> 2011-03-14 11:12:57 PST ---
Every time QuickTime (in QTKitServer) is idled, it gives time to the video pipeline which tries to load the data for the first frame. This read is synchronous so it blocks the call we make to QTKit to get the duration.
Call graph:
2167 Thread_1011186 DispatchQueue_1: com.apple.main-thread (serial)
2167 start
2167 main
2167 CFRunLoopRun
2167 CFRunLoopRunSpecific
2167 __CFRunLoopRun
2158 __NSFireTimer
2158 +[QTMovie_QuickTime idleAllMovies:]
2158 -[QTMovie_QuickTime idle]
2158 QTObjectTokenExecuteCommand
2158 QTSendToObject
2158 QTObjectTokenPriv::DispatchMessage(QTMessagePriv*, void const*, __CFAllocator const*, unsigned long, unsigned long, ComponentMsgParam*, unsigned long, unsigned long)
2158 QTObjectTokenPriv::SendMessageToObject(QTMessagePriv*, unsigned long)
2158 DispatchQTMsg(void const*, unsigned long, unsigned long, unsigned long, QTOGenericObject*)
2158 QTOMovieObject::SendCommand(unsigned long, void const*)
2158 MCIdle
2158 CallComponentDispatch
2158 _MCComponentDispatch
2158 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long)
2158 _MCIdle
2158 internalDoAction
2158 doIdleMovie
2158 TaskMovie_priv
2158 MediaMoviesTask
2158 CallComponentDispatch
2158 Video2ComponentDispatch
2158 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long)
2158 callComponentStorage_44444
2158 Video2MoviesTask
2158 v2m_doWhatTheMentorTellsUs
2158 QueueAFrame
2158 DataHFinishData
2158 CallComponentDispatch
2158 HTTPDataHandler_ComponentDispatch
2158 CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long)
2158 HTTPDataHandler_FinishData
2155 HTTPDhlr_ReadSYNC
We should be caching the duration immediately and only reading it when we know the movie has been edited like we do in the new AVFoundation backend.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list