24 lines
764 B
Diff
24 lines
764 B
Diff
===================================================================
|
|
--- a/media/base/libvpx_thread_wrapper.cc
|
|
+++ b/media/base/libvpx_thread_wrapper.cc
|
|
@@ -4,19 +4,11 @@
|
|
|
|
#include "media/base/libvpx_thread_wrapper.h"
|
|
|
|
#include "media/base/codec_worker_impl.h"
|
|
-#include "third_party/libvpx/source/libvpx/vpx_util/vpx_thread.h"
|
|
|
|
namespace media {
|
|
|
|
void InitLibVpxThreadWrapper() {
|
|
- const VPxWorkerInterface interface =
|
|
- CodecWorkerImpl<VPxWorkerInterface, VPxWorkerImpl, VPxWorker,
|
|
- VPxWorkerStatus, VPX_WORKER_STATUS_NOT_OK,
|
|
- VPX_WORKER_STATUS_OK,
|
|
- VPX_WORKER_STATUS_WORKING>::GetCodecWorkerInterface();
|
|
-
|
|
- CHECK(vpx_set_worker_interface(&interface));
|
|
}
|
|
|
|
} // namespace media
|