Remove avi recorder and corresponding enable_video flags.

R=mflodman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/42099004

Cr-Commit-Position: refs/heads/master@{#8554}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8554 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andresp@webrtc.org
2015-03-02 13:07:02 +00:00
parent f56c162310
commit e8f50df6b9
28 changed files with 61 additions and 4212 deletions

View File

@ -23,9 +23,6 @@
#include "webrtc/typedefs.h"
namespace webrtc {
class VideoCoder;
class FrameScaler;
class FilePlayerImpl : public FilePlayer
{
public:
@ -78,45 +75,5 @@ private:
Resampler _resampler;
float _scaling;
};
#ifdef WEBRTC_MODULE_UTILITY_VIDEO
class VideoFilePlayerImpl: public FilePlayerImpl
{
public:
VideoFilePlayerImpl(uint32_t instanceID, FileFormats fileFormat);
~VideoFilePlayerImpl();
// FilePlayer functions.
virtual int32_t TimeUntilNextVideoFrame();
virtual int32_t StartPlayingVideoFile(const char* fileName,
bool loop,
bool videoOnly);
virtual int32_t StopPlayingFile();
virtual int32_t video_codec_info(VideoCodec& videoCodec) const;
virtual int32_t GetVideoFromFile(I420VideoFrame& videoFrame);
virtual int32_t GetVideoFromFile(I420VideoFrame& videoFrame,
const uint32_t outWidth,
const uint32_t outHeight);
private:
int32_t SetUpVideoDecoder();
rtc::scoped_ptr<VideoCoder> video_decoder_;
VideoCodec video_codec_info_;
int32_t _decodedVideoFrames;
EncodedVideoData& _encodedData;
FrameScaler& _frameScaler;
CriticalSectionWrapper* _critSec;
TickTime _startTime;
int64_t _accumulatedRenderTimeMs;
uint32_t _frameLengthMS;
int32_t _numberOfFramesRead;
bool _videoOnly;
};
#endif //WEBRTC_MODULE_UTILITY_VIDEO
} // namespace webrtc
#endif // WEBRTC_MODULES_UTILITY_SOURCE_FILE_PLAYER_IMPL_H_