[Webkit-unassigned] [Bug 50382] New: [GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 04:09:16 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50382

           Summary: [GStreamer] hasVideo/Audio return false until the
                    pipeline reaches PAUSED
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pnormand at igalia.com
                CC: gns at gnome.org


For a video with preload=none and controls shown, no autoplay, the controls won't display the fullscreen/mute buttons until playback started. This is because in that case the playback is delayed and pipeline state remains NULL. So in this case hasVideo and hasAudio return false because the queries on playbin are failing.

The proposed solution is to set pipeline state to PAUSED even if preload=none and in this case ignore the state-change messages and call ::updateStates() once in commitLoad().

-- 
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