| Index: webrtc/modules/video_coding/codec_database.h
|
| diff --git a/webrtc/modules/video_coding/codec_database.h b/webrtc/modules/video_coding/codec_database.h
|
| index c39474f6a2d18e5a44e4e78ff3cffcbc40cabd97..bbb1128cd330230e442f35be3c829012dc735d0b 100644
|
| --- a/webrtc/modules/video_coding/codec_database.h
|
| +++ b/webrtc/modules/video_coding/codec_database.h
|
| @@ -36,12 +36,10 @@ struct VCMDecoderMapItem {
|
| struct VCMExtDecoderMapItem {
|
| public:
|
| VCMExtDecoderMapItem(VideoDecoder* external_decoder_instance,
|
| - uint8_t payload_type,
|
| - bool internal_render_timing);
|
| + uint8_t payload_type);
|
|
|
| uint8_t payload_type;
|
| VideoDecoder* external_decoder_instance;
|
| - bool internal_render_timing;
|
| };
|
|
|
| class VCMCodecDataBase {
|
| @@ -90,12 +88,8 @@ class VCMCodecDataBase {
|
| bool DeregisterExternalDecoder(uint8_t payload_type);
|
|
|
| // Registers an external decoder object to the payload type |payload_type|.
|
| - // |internal_render_timing| is set to true if the |external_decoder| has
|
| - // built in rendering which is able to obey the render timestamps of the
|
| - // encoded frames.
|
| void RegisterExternalDecoder(VideoDecoder* external_decoder,
|
| - uint8_t payload_type,
|
| - bool internal_render_timing);
|
| + uint8_t payload_type);
|
|
|
| bool DecoderRegistered() const;
|
|
|
| @@ -124,10 +118,9 @@ class VCMCodecDataBase {
|
| // deep copies returned by CreateDecoderCopy().
|
| void ReleaseDecoder(VCMGenericDecoder* decoder) const;
|
|
|
| - // Returns true if the currently active decoder supports render scheduling,
|
| - // that is, it is able to render frames according to the render timestamp of
|
| - // the encoded frames.
|
| - bool SupportsRenderScheduling() const;
|
| + // Returns true if the currently active decoder prefer to decode frames late.
|
| + // That means that frames must be decoded near the render times stamp.
|
| + bool PreferDecodeLate() const;
|
|
|
| bool MatchesCurrentResolution(int width, int height) const;
|
|
|
|
|