WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
130603
[iOS] Enable caption support in full screen.
https://bugs.webkit.org/show_bug.cgi?id=130603
Summary
[iOS] Enable caption support in full screen.
Jer Noble
Reported
2014-03-21 10:19:35 PDT
[iOS] Enable caption support in full screen.
Attachments
Patch
(6.46 KB, patch)
2014-03-21 10:21 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch
(7.84 KB, patch)
2014-03-25 11:37 PDT
,
Jer Noble
eric.carlson
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2014-03-21 10:21:47 PDT
Created
attachment 227450
[details]
Patch
Jer Noble
Comment 2
2014-03-25 11:37:04 PDT
Created
attachment 227775
[details]
Patch
Eric Carlson
Comment 3
2014-03-25 13:53:41 PDT
Comment on
attachment 227775
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=227775&action=review
> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:33 > +#include <wtf/WeakPtr.h>
Is this required?
> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:814 > + CGRect textFrame = m_videoLayer ? [m_videoLayer videoRect] : (CGRect)frame;
Can't you use static_cast<CGRect>() ?
> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1493 > + CGRect frame = CGRectMake(0, 0, m_videoFullscreenFrame.width(), m_videoFullscreenFrame.height());
Nit: this local isn't really necessary.
Jer Noble
Comment 4
2014-03-25 15:39:02 PDT
(In reply to
comment #3
)
> (From update of
attachment 227775
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=227775&action=review
> > > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:33 > > +#include <wtf/WeakPtr.h> > > Is this required?
Nope. Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:814
> > + CGRect textFrame = m_videoLayer ? [m_videoLayer videoRect] : (CGRect)frame; > > Can't you use static_cast<CGRect>() ?
Yep. Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1493
> > + CGRect frame = CGRectMake(0, 0, m_videoFullscreenFrame.width(), m_videoFullscreenFrame.height()); > > Nit: this local isn't really necessary.
Sure ain't.
Jer Noble
Comment 5
2014-03-25 16:43:41 PDT
Committed
r166268
: <
http://trac.webkit.org/changeset/166268
>
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