• sakal's avatar
    Remove source->Stop() call from chromoting WebRTC video stream. · 6c7db377
    sakal authored
    Removing this call should be safe because the call just does following
    things:
    1. Sets started_ to false in VideoCapturerTrackSource. This doesn't
    matter since it will be destroyed soon.
    2. Calls WebRtcDummyVideoCapturer::Stop. This just sets the state of the
    dummy video captuer to CS_STOPPED. This doesn't matter since it will be
    destroyed soon.
    
    Motivation behind this change is that we want to remove Restart and Stop
    from VideoTrackSourceInterface. This code is the last usage of these
    methods.
    
    Review-Url: https://codereview.chromium.org/2308543002
    Cr-Commit-Position: refs/heads/master@{#416290}
    6c7db377
webrtc_video_stream.cc 12.9 KB