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

Unified Diff: webrtc/modules/video_coding/frame_buffer.cc

Issue 2341713002: Use sps and pps to determine decodability of H.264 frames. (Closed)
Patch Set: . Created 4 years, 3 months 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
Index: webrtc/modules/video_coding/frame_buffer.cc
diff --git a/webrtc/modules/video_coding/frame_buffer.cc b/webrtc/modules/video_coding/frame_buffer.cc
index 1c7301f933c44f48a7b9933b585f7947eade7c46..2c9c9ca8c05df80a9daa04ed7cb97a10a77fca62 100644
--- a/webrtc/modules/video_coding/frame_buffer.cc
+++ b/webrtc/modules/video_coding/frame_buffer.cc
@@ -12,6 +12,7 @@
#include <assert.h>
#include <string.h>
+#include <vector>
philipel 2016/09/15 12:52:46 Included in the .h file.
stefan-webrtc 2016/09/30 09:36:02 Done.
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"
@@ -66,6 +67,10 @@ bool VCMFrameBuffer::NonReference() const {
return _sessionInfo.NonReference();
}
+std::vector<NaluInfo> VCMFrameBuffer::GetNaluInfos() const {
+ return _sessionInfo.GetNaluInfos();
+}
+
void VCMFrameBuffer::SetGofInfo(const GofInfoVP9& gof_info, size_t idx) {
_sessionInfo.SetGofInfo(gof_info, idx);
// TODO(asapersson): Consider adding hdr->VP9.ref_picture_id for testing.

Powered by Google App Engine
This is Rietveld 408576698