| 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..f180b5ffb1f3dd80dd1b52bea61506eb7ed91950 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 set_decode_nalus(bool decode_nalus) { decode_nalus_ = decode_nalus; }
|
| +
|
| // 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);
|
| };
|
|
|
|
|