|
Handle config changes for MSE
In case of config changes, we need to recreate the MediaCodec. Here is the workflow:
1. MediaSourcePlayer now stores the surface for later use.
2. Once a config change is detected, it sends an IPC requesting the new config.
3. upon receiving the new config, it creates a new MediaCodec using the stored surface
Youtube Dash player should work after this patch
BUG= 233420
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204844
Total comments: 24
Total comments: 10
Total comments: 2
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -96 lines) |
Patch |
 |
M |
content/browser/android/media_player_manager_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/media_player_manager_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_player_messages_android.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webmediaplayer_proxy_impl_android.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/webmediaplayer_proxy_impl_android.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/android/java/src/org/chromium/media/MediaCodecBridge.java
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_android.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_android.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/base/android/media_player_manager.h
|
View
|
1
2
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_source_player.h
|
View
|
1
2
|
8 chunks |
+24 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/base/android/media_source_player.cc
|
View
|
1
2
3
4
|
16 chunks |
+147 lines, -59 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/media/android/media_source_delegate.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/media/android/media_source_delegate.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/media/android/webmediaplayer_android.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/media/android/webmediaplayer_android.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|