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

Unified Diff: webrtc/modules/utility/include/file_player.h

Issue 2033433004: Remove the unused video stuff in FilePlayer and FileRecorder (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/utility/include/file_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/include/file_player.h
diff --git a/webrtc/modules/utility/include/file_player.h b/webrtc/modules/utility/include/file_player.h
index 4ca134a66981cbd7134f018857cc03a34c067883..b064e3021b54a40b85919043e7353f051e49ec66 100644
--- a/webrtc/modules/utility/include/file_player.h
+++ b/webrtc/modules/utility/include/file_player.h
@@ -15,7 +15,6 @@
#include "webrtc/engine_configurations.h"
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/typedefs.h"
-#include "webrtc/video_frame.h"
namespace webrtc {
class FileCallback;
@@ -79,30 +78,6 @@ public:
// Note: scaleFactor is in the range [0.0 - 2.0]
virtual int32_t SetAudioScaling(float scaleFactor) = 0;
- // Return the time in ms until next video frame should be pulled (by
- // calling GetVideoFromFile(..)).
- // Note: this API reads one video frame from file. This means that it should
- // be called exactly once per GetVideoFromFile(..) API call.
- virtual int32_t TimeUntilNextVideoFrame() { return -1;}
-
- virtual int32_t StartPlayingVideoFile(
- const char* /*fileName*/,
- bool /*loop*/,
- bool /*videoOnly*/) { return -1;}
-
- virtual int32_t video_codec_info(VideoCodec& /*videoCodec*/) const
- {return -1;}
-
- virtual int32_t GetVideoFromFile(VideoFrame& /*videoFrame*/) { return -1; }
-
- // Same as GetVideoFromFile(). videoFrame will have the resolution specified
- // by the width outWidth and height outHeight in pixels.
- virtual int32_t GetVideoFromFile(VideoFrame& /*videoFrame*/,
- const uint32_t /*outWidth*/,
- const uint32_t /*outHeight*/) {
- return -1;
- }
-
protected:
virtual ~FilePlayer() {}
« no previous file with comments | « no previous file | webrtc/modules/utility/include/file_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698