Ticket #6804: vdpaudeintfix.diff

File vdpaudeintfix.diff, 671 bytes (added by markk, 11 years ago)

Fix for unprotected clearing of reference frames on aspect ratio change.

  • libs/libmythtv/util-vdpau.h

     
    9292    QString GetDeinterlacer(void) const
    9393            { return deinterlacer; }
    9494    bool IsBeingUsed(VideoFrame * frame);
    95     void ClearReferenceFrames(void) { referenceFrames.clear(); }
     95    void ClearReferenceFrames(void)
     96        { deintLock.lock(); referenceFrames.clear(); deintLock.unlock(); }
    9697    PictureAttributeSupported  GetSupportedPictureAttributes(void) const;
    9798    int SetPictureAttribute(PictureAttribute attributeType, int newValue);
    9899