WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146302
[Win] Update MediaPlayerPrivateAVFoundationCF::supportsType
https://bugs.webkit.org/show_bug.cgi?id=146302
Summary
[Win] Update MediaPlayerPrivateAVFoundationCF::supportsType
Brent Fulgham
Reported
2015-06-24 17:25:27 PDT
Bring the Windows version of "supportsType" in line with the Mac/iOS version by using AVCFURLAssetIsPlayableExtendedMIMEType.
Attachments
Patch
(7.43 KB, patch)
2015-06-24 17:32 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Patch
(15.71 KB, patch)
2015-06-25 10:28 PDT
,
Brent Fulgham
eric.carlson
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2015-06-24 17:25:43 PDT
<
rdar://problem/19726553
>
Brent Fulgham
Comment 2
2015-06-24 17:32:49 PDT
Created
attachment 255534
[details]
Patch
WebKit Commit Bot
Comment 3
2015-06-24 17:34:22 PDT
Attachment 255534
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:937: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:983: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 4
2015-06-24 17:34:39 PDT
I also fixed a null dereference I ran into while testing.
Eric Carlson
Comment 5
2015-06-24 18:04:57 PDT
Comment on
attachment 255534
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=255534&action=review
> Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:910 > +static bool isUnsupportedMIMEType(const String& type)
It looks like this and staticMIMETypeList are exactly the same as the ObjC versions. If so, can they be put into the base class and shared?
> Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:1379 > + if (audibleOptionLocale) > + m_languageOfPrimaryAudioTrack = CFLocaleGetIdentifier(audibleOptionLocale.get()); > + else > + m_languageOfPrimaryAudioTrack = emptyString(); > +
You forgot to document this in the ChangeLog.
Brent Fulgham
Comment 6
2015-06-25 10:28:37 PDT
Created
attachment 255562
[details]
Patch
WebKit Commit Bot
Comment 7
2015-06-25 10:30:45 PDT
Attachment 255562
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:912: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:1108: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 8
2015-06-25 12:38:30 PDT
Committed
r185958
: <
http://trac.webkit.org/changeset/185958
>
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