Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 711f83fa authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Don't CHECK if the source can't be started

Bug: 19779574
Bug: 31156921
Change-Id: I770619949ed211dab301ee3da10069d319279715
parent 7fad4bb2
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -280,7 +280,10 @@ status_t NuMediaExtractor::selectTrack(size_t index) {

    sp<MediaSource> source = mImpl->getTrack(index);

    CHECK_EQ((status_t)OK, source->start());
    status_t ret = source->start();
    if (ret != OK) {
        return ret;
    }

    mSelectedTracks.push();
    TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1);