| Summary: | [GStreamer] Playback rate is not set when pipeline is not ready. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Piotr Grad <piotr.grad> | ||||||||
| Component: | Media | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | cgarcia, commit-queue, eric.carlson, glenn, gustavo, jer.noble, menard, mrobinson, pnormand | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Piotr Grad
2014-01-09 06:44:15 PST
Created attachment 220727 [details]
Patch
Created attachment 220827 [details]
Patch
Comment on attachment 220827 [details]
Patch
This looks fine to me, but I know very little about GStreamer so I would prefer if someone who does (pnormand?) gives it an r+
Comment on attachment 220827 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220827&action=review > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:638 > + if (m_changingRate) { Can this be changed to an early return please? > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:1473 > + if (getStateResult == GST_STATE_CHANGE_SUCCESS && (state == GST_STATE_PAUSED || state == GST_STATE_PLAYING)) { the second test could be simplified to state >= GST_STATE_PAUSED Created attachment 221024 [details]
Patch
Comment on attachment 221024 [details] Patch Clearing flags on attachment: 221024 Committed r161984: <http://trac.webkit.org/changeset/161984> All reviewed patches have been landed. Closing bug. |