Changeset 93047 in webkit
- Timestamp:
- Aug 15, 2011, 10:41:34 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93043 r93047 1 2011-08-12 Jeff Miller <jeffm@apple.com> 2 3 MediaPlayerPrivateAVFoundationCF::playerItemStatus() should return MediaPlayerAVPlayerItemStatusDoesNotExist if there is no AVPlayerItem 4 https://bugs.webkit.org/show_bug.cgi?id=66171 5 6 MediaPlayerPrivateAVFoundationCF::playerItemStatus() should return MediaPlayerAVPlayerItemStatusDoesNotExist if there is no AVPlayerItem 7 to match the Mac implementation in MediaPlayerPrivateAVFoundationObjC. I also added better logging to notificationCallback(). 8 9 Reviewed by Jon Honeycutt. 10 11 No new tests, uses existing media tests. 12 13 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp: 14 (WebCore::MediaPlayerPrivateAVFoundationCF::playerItemStatus): Return MediaPlayerAVPlayerItemStatusDoesNotExist if no AVPlayerItem. 15 (WebCore::AVFWrapper::notificationCallback): Log the name of the received notification. 16 1 17 2011-08-15 Adam Roben <aroben@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp
r92977 r93047 389 389 { 390 390 if (!avPlayerItem(m_avfWrapper)) 391 return MediaPlayerPrivateAVFoundation::MediaPlayerAVPlayerItemStatus Unknown;391 return MediaPlayerPrivateAVFoundation::MediaPlayerAVPlayerItemStatusDoesNotExist; 392 392 393 393 AVCFPlayerItemStatus status = AVCFPlayerItemGetStatus(avPlayerItem(m_avfWrapper), 0); … … 1042 1042 } 1043 1043 1044 LOG(Media, "AVFWrapper::notificationCallback(%p)", self); 1044 #if !LOG_DISABLED 1045 char notificationName[256]; 1046 CFStringGetCString(propertyName, notificationName, sizeof(notificationName), kCFStringEncodingASCII); 1047 LOG(Media, "AVFWrapper::notificationCallback(%p) %s", self, notificationName); 1048 #endif 1045 1049 1046 1050 if (CFEqual(propertyName, AVCFPlayerItemDidPlayToEndTimeNotification))
Note:
See TracChangeset
for help on using the changeset viewer.