Changeset 186799 in webkit


Ignore:
Timestamp:
Jul 13, 2015 6:58:28 PM (9 years ago)
Author:
Brent Fulgham
Message:

[Win] Unreviewed build fix.

  • platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:

(WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer): Don't try to build
the new Legible Output API features if they aren't available in the build
environment.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r186798 r186799  
     12015-07-13  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] Unreviewed build fix.
     4
     5        * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:
     6        (WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer): Don't try to build
     7        the new Legible Output API features if they aren't available in the build
     8        environment.
     9
    1102015-07-13  Brent Fulgham  <bfulgham@apple.com>
    211
  • trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp

    r186798 r186799  
    190190bool InbandTextTrackPrivateAVCF::readNativeSampleBuffer(CFArrayRef nativeSamples, CFIndex index, RefPtr<ArrayBuffer>& buffer, MediaTime& duration, CMFormatDescriptionRef& formatDescription)
    191191{
     192#if HAVE(AVCFPLAYERITEM_CALLBACK_VERSION_2)
    192193    const AVCFPlayerItemLegibleOutputSample* sampleBuffer = reinterpret_cast<const AVCFPlayerItemLegibleOutputSample*>(CFArrayGetValueAtIndex(nativeSamples, index));
    193194    if (!sampleBuffer)
     
    209210
    210211    return true;
     212#else
     213    return InbandTextTrackPrivateAVF::readNativeSampleBuffer(nativeSamples, index, buffer, duration, formatDescription);
     214#endif
    211215}
    212216
Note: See TracChangeset for help on using the changeset viewer.