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

Unified Diff: webrtc/video/video_receive_stream.h

Issue 1853813002: Add support for writing raw encoder output to .ivf files. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Set pre-decode image callback on construction Created 4 years, 8 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/video/video_receive_stream.h
diff --git a/webrtc/video/video_receive_stream.h b/webrtc/video/video_receive_stream.h
index 3aca570f99e9d3a96d19a0abc2f56f547029cd44..bdfd1144cb1d5d7c21c60d45d7b550d4a87892a1 100644
--- a/webrtc/video/video_receive_stream.h
+++ b/webrtc/video/video_receive_stream.h
@@ -31,6 +31,7 @@ namespace webrtc {
class CallStats;
class CongestionController;
+class IvfFileWriter;
class ProcessThread;
class VoiceEngine;
class VieRemb;
@@ -88,6 +89,8 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
void RequestKeyFrame() override;
private:
+ static const bool kEnableFrameRecording = false;
pbos-webrtc 2016/04/13 22:01:14 This (= false) part should go in the cc file I thi
sprang_webrtc 2016/04/14 07:36:23 Done.
+
static bool DecodeThreadFunction(void* ptr);
void Decode();
@@ -110,6 +113,8 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
ViEReceiver* const vie_receiver_;
ViESyncModule vie_sync_;
RtpRtcp* const rtp_rtcp_;
+
+ std::unique_ptr<IvfFileWriter> ivf_writer_;
};
} // namespace internal
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698