Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1278)

Unified Diff: webrtc/modules/video_coding/timing.h

Issue 2582313002: Do not call OnDecoderTiming before timing values are set. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/video_coding/timing.cc » ('j') | webrtc/modules/video_coding/timing.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/timing.h
diff --git a/webrtc/modules/video_coding/timing.h b/webrtc/modules/video_coding/timing.h
index 85a3dd0ca0aa9d50dc1dc2e254a16df941ef4363..e7d2b1ffdd4c540cdc322cbee54bfced23920bc0 100644
--- a/webrtc/modules/video_coding/timing.h
+++ b/webrtc/modules/video_coding/timing.h
@@ -92,8 +92,9 @@ class VCMTiming {
// certain amount of processing time.
bool EnoughTimeToDecode(uint32_t available_processing_time_ms) const;
- // Return current timing information.
- void GetTimings(int* decode_ms,
+ // Return current timing information. Returns true if the first frame has been
+ // decoded, false otherwise.
+ bool GetTimings(int* decode_ms,
int* max_decode_ms,
int* current_delay_ms,
int* target_delay_ms,
« no previous file with comments | « no previous file | webrtc/modules/video_coding/timing.cc » ('j') | webrtc/modules/video_coding/timing.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698