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

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

Issue 2750633003: Save width/height of SPS nalus and restore them on the first packet of an IDR. (Closed)
Patch Set: Test fix. Created 3 years, 9 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
« no previous file with comments | « no previous file | webrtc/modules/video_coding/h264_sps_pps_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/h264_sps_pps_tracker.h
diff --git a/webrtc/modules/video_coding/h264_sps_pps_tracker.h b/webrtc/modules/video_coding/h264_sps_pps_tracker.h
index e7692687794ad88192ec23edc9b4658eed3e6255..7f8bc04416f63656fb99623975681cbc9df8114e 100644
--- a/webrtc/modules/video_coding/h264_sps_pps_tracker.h
+++ b/webrtc/modules/video_coding/h264_sps_pps_tracker.h
@@ -42,6 +42,8 @@ class H264SpsPpsTracker {
struct SpsInfo {
size_t size = 0;
+ int width = -1;
+ int height = -1;
std::unique_ptr<uint8_t[]> data;
};
« no previous file with comments | « no previous file | webrtc/modules/video_coding/h264_sps_pps_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698