Index: webrtc/modules/video_coding/main/source/codec_database.h |
diff --git a/webrtc/modules/video_coding/main/source/codec_database.h b/webrtc/modules/video_coding/main/source/codec_database.h |
index c8de46f7d33a4f8500235540d342c5e2cd554b89..6f059e3a695ed301671489d0006b918aabc88b8e 100644 |
--- a/webrtc/modules/video_coding/main/source/codec_database.h |
+++ b/webrtc/modules/video_coding/main/source/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 { |
@@ -101,12 +99,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. |
bool RegisterExternalDecoder(VideoDecoder* external_decoder, |
- uint8_t payload_type, |
- bool internal_render_timing); |
+ uint8_t payload_type); |
bool DecoderRegistered() const; |
@@ -134,10 +128,10 @@ 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 only have one output buffer. |
+ // That means that frames must be decoded near the render times stamp since |
+ // multiple frames can not be decoded ahead of time. |
+ bool HasOnlyOneOutputBuffer() const; |
bool MatchesCurrentResolution(int width, int height) const; |