Skip to content
Snippets Groups Projects
  • Andreas Traczyk's avatar
    2baf76e7
    videoprovider: remove frame subscription on QVideoSink::destroyed · 2baf76e7
    Andreas Traczyk authored
    We can observe that frame update signals can occur after a VideoOutput component's QVideoSink object has started destruction. The deregistration of the object pointer needs to be synchronized to the object's destruction.
    
    Additionally:
    + scope the frame obj mutex locker around checks for no subs
    + rename (un)registerSink to (un)subscribe
    + subscribe will now remove the previous subscription
    + subscribe with an empty id will unsubscribe
    
    Gitlab: #997
    Change-Id: I21460564e49189b9276f153e8c1fd3a5cc52c6b2
    2baf76e7
    History
    videoprovider: remove frame subscription on QVideoSink::destroyed
    Andreas Traczyk authored
    We can observe that frame update signals can occur after a VideoOutput component's QVideoSink object has started destruction. The deregistration of the object pointer needs to be synchronized to the object's destruction.
    
    Additionally:
    + scope the frame obj mutex locker around checks for no subs
    + rename (un)registerSink to (un)subscribe
    + subscribe will now remove the previous subscription
    + subscribe with an empty id will unsubscribe
    
    Gitlab: #997
    Change-Id: I21460564e49189b9276f153e8c1fd3a5cc52c6b2
Code owners
Assign users and groups as approvers for specific file changes. Learn more.