summaryrefslogtreecommitdiffstats
path: root/content/common/media
diff options
context:
space:
mode:
authorqinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 19:11:15 +0000
committerqinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 19:11:15 +0000
commitee02f7375d3de6ef6ded9c2545f240e46551fb02 (patch)
tree3b39f248c657237d39948c3da30558fbc87adf6d /content/common/media
parent1f314ffaf067e65ad66a1f46ad35efd828573214 (diff)
downloadchromium_src-ee02f7375d3de6ef6ded9c2545f240e46551fb02.zip
chromium_src-ee02f7375d3de6ef6ded9c2545f240e46551fb02.tar.gz
chromium_src-ee02f7375d3de6ef6ded9c2545f240e46551fb02.tar.bz2
Remove the IPC to request DemuxerConfigs when config changes
When config changes, we currently use a round trip IPC to request the new config. This increases the overall latency when processing config changes. This CL appends the new config data to the DemuxerData which contains the config change access unit. BUG=325528 Review URL: https://codereview.chromium.org/257323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/media')
-rw-r--r--content/common/media/media_player_messages_android.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/content/common/media/media_player_messages_android.h b/content/common/media/media_player_messages_android.h
index 40dd56e..12fdcf1 100644
--- a/content/common/media/media_player_messages_android.h
+++ b/content/common/media/media_player_messages_android.h
@@ -42,6 +42,7 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(media::DemuxerData)
IPC_STRUCT_TRAITS_MEMBER(type)
IPC_STRUCT_TRAITS_MEMBER(access_units)
+ IPC_STRUCT_TRAITS_MEMBER(demuxer_configs)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(media::AccessUnit)
@@ -175,10 +176,6 @@ IPC_MESSAGE_CONTROL2(MediaPlayerMsg_ReadFromDemuxer,
int /* demuxer_client_id */,
media::DemuxerStream::Type /* type */)
-// The player needs new config data
-IPC_MESSAGE_CONTROL1(MediaPlayerMsg_MediaConfigRequest,
- int /* demuxer_client_id */)
-
// Clank has connected to the remote device.
IPC_MESSAGE_ROUTED2(MediaPlayerMsg_ConnectedToRemoteDevice,
int /* player_id */,