WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
94329
[BlackBerry] Adapt to changes in the platform media player API
https://bugs.webkit.org/show_bug.cgi?id=94329
Summary
[BlackBerry] Adapt to changes in the platform media player API
Robin Cao
Reported
2012-08-17 03:52:13 PDT
The platform now provides an abtract interface PlatformPlayer which roughly corresponds to WebKit's MediaPlayerPrivate. We need to adapt to these changes.
Attachments
patch
(19.47 KB, patch)
2012-08-17 05:11 PDT
,
Robin Cao
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Robin Cao
Comment 1
2012-08-17 05:11:42 PDT
Created
attachment 159094
[details]
patch
Antonio Gomes
Comment 2
2012-08-17 07:14:58 PDT
Comment on
attachment 159094
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159094&action=review
> Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:175 > - m_platformPlayer->cancelLoad(); > + if (m_platformPlayer) > + m_platformPlayer->cancelLoad();
I think this and all the other null checks are changes in the behavior. Why is that needed now?
Eric Carlson
Comment 3
2012-08-17 09:41:34 PDT
Comment on
attachment 159094
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159094&action=review
This looks OK to me, but I know absolutely nothing about either the old or new platform player so I will let someone else give it a real review.
>> Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:175 >> + m_platformPlayer->cancelLoad(); > > I think this and all the other null checks are changes in the behavior. Why is that needed now?
Because m_platformPlayer is allocated in load rather than in the constructor?
Antonio Gomes
Comment 4
2012-08-17 10:08:10 PDT
Comment on
attachment 159094
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159094&action=review
>>> Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:175 >>> + m_platformPlayer->cancelLoad(); >> >> I think this and all the other null checks are changes in the behavior. Why is that needed now? > > Because m_platformPlayer is allocated in load rather than in the constructor?
Very reasonable.
WebKit Review Bot
Comment 5
2012-08-20 01:47:20 PDT
Comment on
attachment 159094
[details]
patch Clearing flags on attachment: 159094 Committed
r126008
: <
http://trac.webkit.org/changeset/126008
>
WebKit Review Bot
Comment 6
2012-08-20 01:47:23 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug