Changeset 148295 in webkit


Ignore:
Timestamp:
Apr 12, 2013 12:09:23 PM (11 years ago)
Author:
jer.noble@apple.com
Message:

(AVFoundation) WebKit fails to detect live stream.
https://bugs.webkit.org/show_bug.cgi?id=114474

Reviewed by Eric Carlson.

Remove a workaround (added by r88944) for an error in an Apple.com javascript
media controller. The error has been fixed, and the workaround is causing problems
with other media streams.

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

(WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148294 r148295  
     12013-04-12  Jer Noble  <jer.noble@apple.com>
     2
     3        (AVFoundation) WebKit fails to detect live stream.
     4        https://bugs.webkit.org/show_bug.cgi?id=114474
     5
     6        Reviewed by Eric Carlson.
     7
     8        Remove a workaround (added by r88944) for an error in an Apple.com javascript
     9        media controller. The error has been fixed, and the workaround is causing problems
     10        with other media streams.
     11
     12        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
     13        (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration):
     14
    1152013-04-12  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r148291 r148295  
    579579
    580580    if (CMTIME_IS_INDEFINITE(cmDuration)) {
    581         if (![[m_avAsset.get() tracks] count])
    582             return 0;
    583         else
    584             return numeric_limits<float>::infinity();
     581        return numeric_limits<float>::infinity();
    585582    }
    586583
Note: See TracChangeset for help on using the changeset viewer.