Chromium Code Reviews| Index: media/filters/ffmpeg_video_decoder.h |
| diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h |
| index ced6ddf2eabc8e23b6b6b5bfea25643202a6e8b8..84ac0642f9596c49e34be0393dacde893d179cab 100644 |
| --- a/media/filters/ffmpeg_video_decoder.h |
| +++ b/media/filters/ffmpeg_video_decoder.h |
| @@ -31,6 +31,10 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder { |
| const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); |
| virtual ~FFmpegVideoDecoder(); |
| + // Allow decoding of individual NALU. Entire frames are required by default. |
| + // Disables low-latency mode. Must be called before Initialize(). |
| + void SetDecodeNalus(bool decode_nalus) { decode_nalus_ = decode_nalus; } |
|
scherkus (not reviewing)
2014/06/06 18:12:27
nit: style guide recommends unix_hacker() style fo
igorc
2014/06/06 22:58:22
Done.
|
| + |
| // VideoDecoder implementation. |
| virtual void Initialize(const VideoDecoderConfig& config, |
| bool low_delay, |
| @@ -84,6 +88,8 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder { |
| VideoFramePool frame_pool_; |
| + bool decode_nalus_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(FFmpegVideoDecoder); |
| }; |