| Index: ppapi/thunk/ppb_video_decoder_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_video_decoder_thunk.cc b/ppapi/thunk/ppb_video_decoder_thunk.cc
|
| index 594b3366c744e31481eea54da7ad0357d2863a38..2fd62d2e20031b009f6fa0684574e03f6e127163 100644
|
| --- a/ppapi/thunk/ppb_video_decoder_thunk.cc
|
| +++ b/ppapi/thunk/ppb_video_decoder_thunk.cc
|
| @@ -17,11 +17,15 @@ typedef EnterResource<PPB_VideoDecoder_API> EnterVideoDecoder;
|
|
|
| PP_Resource Create(PP_Instance instance,
|
| PP_Resource graphics_3d,
|
| - PP_VideoDecoder_Profile profile) {
|
| + PP_VideoDecoder_Profile profile,
|
| + const PP_Size* frame_size,
|
| + const uint8_t* extra_data,
|
| + uint32_t extra_data_size) {
|
| EnterResourceCreation enter(instance);
|
| if (enter.failed())
|
| return 0;
|
| - return enter.functions()->CreateVideoDecoder(instance, graphics_3d, profile);
|
| + return enter.functions()->CreateVideoDecoder(instance, graphics_3d, profile,
|
| + *frame_size, extra_data, extra_data_size);
|
| }
|
|
|
| PP_Bool IsVideoDecoder(PP_Resource resource) {
|
| @@ -86,7 +90,7 @@ const PPB_VideoDecoder_Dev g_ppb_videodecoder_thunk = {
|
|
|
| } // namespace
|
|
|
| -const PPB_VideoDecoder_Dev_0_16* GetPPB_VideoDecoder_Dev_0_16_Thunk() {
|
| +const PPB_VideoDecoder_Dev_0_17* GetPPB_VideoDecoder_Dev_0_17_Thunk() {
|
| return &g_ppb_videodecoder_thunk;
|
| }
|
|
|
|
|