⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 169921 in webkit


Ignore:
Timestamp:
Jun 12, 2014, 4:49:02 PM (12 years ago)
Author:
jer.noble@apple.com
Message:

[MSE][Mac] Stop observing the sample buffer renderers when destroying them.
​https://bugs.webkit.org/show_bug.cgi?id=133831

Reviewed by Beth Dakin.

Release our retain on our AVSampleBufferDisplayLayer and AVSampleBufferAudioRenderer by stopping
our observation of its properties when removing them from the SourceBufferPrivateAVFObjC object.

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

(WebCore::SourceBufferPrivateAVFObjC::destroyRenderers):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r169919 r169921  
     12014-06-12  Jer Noble  <jer.noble@apple.com>
     2
     3        [MSE][Mac] Stop observing the sample buffer renderers when destroying them.
     4        https://bugs.webkit.org/show_bug.cgi?id=133831
     5
     6        Reviewed by Beth Dakin.
     7
     8        Release our retain on our AVSampleBufferDisplayLayer and AVSampleBufferAudioRenderer by stopping
     9        our observation of its properties when removing them from the SourceBufferPrivateAVFObjC object.
     10
     11        * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
     12        (WebCore::SourceBufferPrivateAVFObjC::destroyRenderers):
     13
    1142014-06-12  Brent Fulgham  <bfulgham@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm

    r169855 r169921  
    720720        [m_displayLayer flush];
    721721        [m_displayLayer stopRequestingMediaData];
     722        [m_errorListener stopObservingLayer:m_displayLayer.get()];
    722723        m_displayLayer = nullptr;
    723724    }
    … …  
    729730        [renderer flush];
    730731        [renderer stopRequestingMediaData];
     732        [m_errorListener stopObservingLayer:renderer];
    731733    }
    732734
Note: See TracChangeset for help on using the changeset viewer.