Index: chromecast/public/media/media_pipeline_device_params.h |
diff --git a/chromecast/media/cma/backend/media_pipeline_device_params.h b/chromecast/public/media/media_pipeline_device_params.h |
similarity index 75% |
rename from chromecast/media/cma/backend/media_pipeline_device_params.h |
rename to chromecast/public/media/media_pipeline_device_params.h |
index d13e4e3a188b948829e4886b96f1e0d7c2baba6c..df1df999f6c6f5faaad9bc9a36d7a1515d37051f 100644 |
--- a/chromecast/media/cma/backend/media_pipeline_device_params.h |
+++ b/chromecast/public/media/media_pipeline_device_params.h |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
-#define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
+#ifndef CHROMECAST_PUBLIC_MEDIA_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
+#define CHROMECAST_PUBLIC_MEDIA_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
-#include "base/macros.h" |
+#include "chromecast/public/task_runner.h" |
byungchul
2015/07/27 18:22:23
relative to chromecast/public
halliwell
2015/07/28 02:19:36
done - as mentioned elsewhere, this required addin
|
namespace chromecast { |
namespace media { |
@@ -27,10 +27,12 @@ class MediaPipelineDeviceParams { |
kModeIgnorePtsAndVSync = 2, |
}; |
- MediaPipelineDeviceParams(); |
- ~MediaPipelineDeviceParams(); |
+ MediaPipelineDeviceParams(TaskRunner* task_runner_in) |
+ : sync_type(kModeSyncPts), task_runner(task_runner_in) {} |
+ ~MediaPipelineDeviceParams() {} |
byungchul
2015/07/27 18:22:23
not necessary
halliwell
2015/07/28 02:19:36
removed.
|
MediaSyncType sync_type; |
+ TaskRunner* const task_runner; |
byungchul
2015/07/27 18:22:23
Comment about what task_runner means.
halliwell
2015/07/28 02:19:36
Done.
|
}; |
} // namespace media |