Previously, build break happens from missing libyuv headers
when |TIZEN_MULTIMEDIA_ZEROCOPY_SUPPORT| is turned off.
This fix includes changes:
- added missing libyuv headers.
- replaced "base::Process::Current().Handle()" with
"base::GetCurrentProcessHandle()"
Reviewed by: sns.park
Change-Id: I1b8f54297ac52366d8274ccf61fcbf9d1979ff94
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
#include "content/public/browser/browser_thread.h"
#include "media/base/efl/media_player_manager_efl.h"
#include "media/base/efl/media_player_util_efl.h"
+#include "third_party/libyuv/include/libyuv/planar_functions.h"
namespace media {
}
base::SharedMemoryHandle foreign_memory_handle;
- if (!shared_memory.ShareToProcess(base::Process::Current().Handle(),
+ if (!shared_memory.ShareToProcess(base::GetCurrentProcessHandle(),
&foreign_memory_handle)) {
LOG(ERROR) << "Shared Memory handle could not be obtained";
return;