OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
| 6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace chromecast { |
| 11 namespace media { |
| 12 |
| 13 class MediaPipelineDeviceParams { |
| 14 public: |
| 15 MediaPipelineDeviceParams(); |
| 16 ~MediaPipelineDeviceParams(); |
| 17 |
| 18 // When set to true, synchronization is disabled and audio/video frames are |
| 19 // rendered "right away": |
| 20 // - for audio, frames are still rendered based on the sampling frequency |
| 21 // - for video, frames are rendered as soon as available at the output of |
| 22 // the video decoder. |
| 23 // The assumption is that no B frames are used when synchronization is |
| 24 // disabled, otherwise B frames would always be skipped. |
| 25 bool disable_synchronization; |
| 26 }; |
| 27 |
| 28 } // namespace media |
| 29 } // namespace chromecast |
| 30 |
| 31 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_PARAMS_H_ |
OLD | NEW |