Loading media/libstagefright/rtsp/MyHandler.h +15 −2 Original line number Diff line number Diff line Loading @@ -463,11 +463,20 @@ struct MyHandler : public AHandler { mBaseURL = tmp; } CHECK_GT(mSessionDesc->countTracks(), 1u); if (mSessionDesc->countTracks() < 2) { // There's no actual tracks in this session. // The first "track" is merely session meta // data. LOGW("Session doesn't contain any playable " "tracks. Aborting."); result = ERROR_UNSUPPORTED; } else { setupTrack(1); } } } } if (result != OK) { sp<AMessage> reply = new AMessage('disc', id()); Loading Loading @@ -783,9 +792,13 @@ struct MyHandler : public AHandler { } if (mNumAccessUnitsReceived == 0) { #if 0 LOGI("stream ended? aborting."); (new AMessage('abor', id()))->post(); break; #else LOGI("haven't seen an AU in a looong time."); #endif } mNumAccessUnitsReceived = 0; Loading Loading
media/libstagefright/rtsp/MyHandler.h +15 −2 Original line number Diff line number Diff line Loading @@ -463,11 +463,20 @@ struct MyHandler : public AHandler { mBaseURL = tmp; } CHECK_GT(mSessionDesc->countTracks(), 1u); if (mSessionDesc->countTracks() < 2) { // There's no actual tracks in this session. // The first "track" is merely session meta // data. LOGW("Session doesn't contain any playable " "tracks. Aborting."); result = ERROR_UNSUPPORTED; } else { setupTrack(1); } } } } if (result != OK) { sp<AMessage> reply = new AMessage('disc', id()); Loading Loading @@ -783,9 +792,13 @@ struct MyHandler : public AHandler { } if (mNumAccessUnitsReceived == 0) { #if 0 LOGI("stream ended? aborting."); (new AMessage('abor', id()))->post(); break; #else LOGI("haven't seen an AU in a looong time."); #endif } mNumAccessUnitsReceived = 0; Loading