summaryrefslogtreecommitdiffstats
path: root/mojo/examples/pepper_container_app
diff options
context:
space:
mode:
authorronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 23:36:52 +0000
committerronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 23:36:52 +0000
commit5294ec9616595ec4691018e34ce47dd9734ed64d (patch)
tree01017b7a2ef6ca277aaf37e356cf0d83d3371152 /mojo/examples/pepper_container_app
parenteb7350d046524fbe069e1e320f49546693475a3f (diff)
downloadchromium_src-5294ec9616595ec4691018e34ce47dd9734ed64d.zip
chromium_src-5294ec9616595ec4691018e34ce47dd9734ed64d.tar.gz
chromium_src-5294ec9616595ec4691018e34ce47dd9734ed64d.tar.bz2
[PPAPI] Add media stream video track output API
Implemented the pepper host for the output mode. R=bbudge@chromium.org, dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/145263008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/pepper_container_app')
-rw-r--r--mojo/examples/pepper_container_app/resource_creation_impl.cc6
-rw-r--r--mojo/examples/pepper_container_app/resource_creation_impl.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/mojo/examples/pepper_container_app/resource_creation_impl.cc b/mojo/examples/pepper_container_app/resource_creation_impl.cc
index cfb0679..8867b2c 100644
--- a/mojo/examples/pepper_container_app/resource_creation_impl.cc
+++ b/mojo/examples/pepper_container_app/resource_creation_impl.cc
@@ -211,6 +211,12 @@ PP_Resource ResourceCreationImpl::CreateImageDataSimple(
return 0;
}
+PP_Resource ResourceCreationImpl::CreateMediaStreamVideoTrack(
+ PP_Instance instance) {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv4Address(
PP_Instance instance,
const PP_NetAddress_IPv4* ipv4_addr) {
diff --git a/mojo/examples/pepper_container_app/resource_creation_impl.h b/mojo/examples/pepper_container_app/resource_creation_impl.h
index de1760e..925507a 100644
--- a/mojo/examples/pepper_container_app/resource_creation_impl.h
+++ b/mojo/examples/pepper_container_app/resource_creation_impl.h
@@ -111,6 +111,8 @@ class ResourceCreationImpl : public ppapi::thunk::ResourceCreationAPI {
PP_ImageDataFormat format,
const PP_Size* size,
PP_Bool init_to_zero) OVERRIDE;
+ virtual PP_Resource CreateMediaStreamVideoTrack(
+ PP_Instance instance) OVERRIDE;
virtual PP_Resource CreateNetAddressFromIPv4Address(
PP_Instance instance,
const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE;