Bug 159460
Summary: | [GTK] When building with GSTREAMER_GL it's not possible to get video frames/caps until playing state | ||
---|---|---|---|
Product: | WebKit | Reporter: | Miguel Gomez <magomez> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, magomez |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Miguel Gomez
The caps and frames of the video are not available until the video starts playing, unlike VideoSinkGstreamer, where they are available before.
This causes, for example, that the video element stays black instead of showing the first frame when it hasn't started playing. Also, if we are trying to grab the video frames to paint them in a canvas or webgl, this could lead to a crash because there's no frame and the reported size of the video is (0,0).
Actually the test media/video-canvas-createPattern.html crashes because of that.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Miguel Gomez
The fix to bug 159466 has also fixed this.