Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup video_stream_ & audio_stream_ after demuxer_ stops #1651

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

borongc
Copy link
Contributor

@borongc borongc commented Sep 27, 2023

Native crash due to fault address of video_stream_, cleanup video_stream_ & audio_stream_ after demuxer_ stops.

b/301284907

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #1651 (a639b4a) into main (e78a6bc) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1651      +/-   ##
==========================================
- Coverage   57.56%   57.55%   -0.01%     
==========================================
  Files        1907     1907              
  Lines       94776    94776              
==========================================
- Hits        54558    54551       -7     
- Misses      40218    40225       +7     

see 6 files with indirect coverage changes

cobalt/media/base/sbplayer_pipeline.cc Outdated Show resolved Hide resolved
cobalt/media/base/sbplayer_pipeline.cc Outdated Show resolved Hide resolved
@borongc borongc changed the title Cleanup video_stream_ after reseting player_bridge_ Cleanup video_stream_ after demuxer_ stops Sep 28, 2023
@xiaomings
Copy link
Contributor

Note that the subject no longer applies, as we also set audio_stream_ to nullptr.

@borongc borongc changed the title Cleanup video_stream_ after demuxer_ stops Cleanup video_stream_ & audio_stream_ after demuxer_ stops Sep 28, 2023
Native crash due to fault address of video_stream_, cleanup video_stream_ & audio_stream_ after demuxer_ stops.

b/301284907
@borongc borongc merged commit 4c8a0fe into youtube:main Sep 28, 2023
343 of 344 checks passed
@borongc borongc deleted the native_crash branch September 28, 2023 21:52
@borongc borongc added cp-23.lts.1+ Cherry Pick to the 23.lts.1+ branch cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch labels Sep 28, 2023
cobalt-github-releaser-bot pushed a commit that referenced this pull request Sep 28, 2023
Native crash due to fault address of video_stream_, cleanup
video_stream_ & audio_stream_ after demuxer_ stops.

b/301284907

(cherry picked from commit 4c8a0fe)
cobalt-github-releaser-bot pushed a commit that referenced this pull request Sep 28, 2023
Native crash due to fault address of video_stream_, cleanup
video_stream_ & audio_stream_ after demuxer_ stops.

b/301284907

(cherry picked from commit 4c8a0fe)
borongc added a commit that referenced this pull request Sep 29, 2023
…uxer_ stops (#1677)

Refer to the original PR: #1651

Native crash due to fault address of video_stream_, cleanup
video_stream_ & audio_stream_ after demuxer_ stops.

b/301284907

Co-authored-by: Bo-Rong Chen <[email protected]>
borongc added a commit that referenced this pull request Oct 2, 2023
…uxer_ stops (#1678)

Refer to the original PR: #1651

Native crash due to fault address of video_stream_, cleanup
video_stream_ & audio_stream_ after demuxer_ stops.

b/301284907

Co-authored-by: Bo-Rong Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-23.lts.1+ Cherry Pick to the 23.lts.1+ branch cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants