Revert Widevine 6.0.0 -> 4.5.0 libraries
Includes Widevine libraries Version 4.5.0.7809 Also fixed samplePlayer's MediaCodec mode not running and WVDrmInfoRequestStatusKey returning incorrect value. Change-Id: Ibcc6d313790670a908ada93be80d6bf55a67b4ed related-to-bug: 6929628 related-to-bug: 6833718 related-to-bug: 6889322
This commit is contained in:
@@ -207,6 +207,7 @@ class CodecState {
|
||||
} catch (MediaCodec.CryptoException e) {
|
||||
Log.d(TAG, "CryptoException w/ errorCode "
|
||||
+ e.getErrorCode() + ", '" + e.getMessage() + "'");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -527,6 +528,8 @@ class MediaCodecView extends SurfaceView
|
||||
if (isAudio) {
|
||||
mAudioTrackState = state;
|
||||
}
|
||||
// set video view size
|
||||
invalidate();
|
||||
}
|
||||
|
||||
public void start() {
|
||||
@@ -722,4 +725,14 @@ class MediaCodecView extends SurfaceView
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
int width = 720;
|
||||
int height = 480;
|
||||
|
||||
Log.d(TAG, "setting size: " + width + 'x' + height);
|
||||
setMeasuredDimension(width, height);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user