Skip to content
  • David Schulz's avatar
    WMF: Fix null ptr derefernce in MFPlayerSession. · b3d88c66
    David Schulz authored
    
    
    Checking the sender of the mediaSourceReady signal to prevent accessing
    the incorrect source resolver.
    
    When the source resolver has finished the asynchronous operation and
    the source resolver gets recreated in the player at the same time in a
    different thread the signal mediaSourceReady still gets emitted from the
    old source resolver.
    
    The player assumes that the signal was emitted from the current source
    resolver and accesses the unresolved media source in the
    handleMediaSourceReady slot.
    
    Task-number: QTBUG-39980
    Change-Id: Ic52f6918995aac250048d91f89c520cfea111bd0
    Reviewed-by: default avatarYoann Lopes <yoann.lopes@digia.com>
    b3d88c66