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

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

Issue 2477343002: H264SpsPpsTracker now return PacketAction on CopyAndFixBitstream. (Closed)
Patch Set: Created 4 years, 1 month 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 6de092a365a31e87122a6783ed5c50db44b68d8e..b54afbb260614bc42c9ab299919132bcf4725c41 100644
--- a/webrtc/modules/video_coding/h264_sps_pps_tracker.h
+++ b/webrtc/modules/video_coding/h264_sps_pps_tracker.h
@@ -25,7 +25,9 @@ namespace video_coding {
class H264SpsPpsTracker {
public:
- bool CopyAndFixBitstream(VCMPacket* packet);
+ enum PacketAction { kInsert, kDrop, kRequestKeyframe };
+
+ PacketAction CopyAndFixBitstream(VCMPacket* packet);
private:
struct PpsInfo {
« 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