Fix codec display after streaming and restore polling behavior of non-direct submit decoders

This commit is contained in:
Cameron Gutman
2017-05-15 21:41:41 -07:00
parent 36b248be4b
commit 732311c2a4
3 changed files with 12 additions and 4 deletions

View File

@@ -424,7 +424,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
}
if (conn != null) {
int videoFormat = conn.getActiveVideoFormat();
int videoFormat = decoderRenderer.getActiveVideoFormat();
displayedFailureDialog = true;
stopConnection();