Fix valgrind issue.
Code was removed by mistake in r2983.
BUG=1020
Review URL: https://webrtc-codereview.appspot.com/938006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3021 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/utility/source/video_frames_queue.h b/webrtc/modules/utility/source/video_frames_queue.h
index e110538..3f63f65 100644
--- a/webrtc/modules/utility/source/video_frames_queue.h
+++ b/webrtc/modules/utility/source/video_frames_queue.h
@@ -20,42 +20,41 @@
namespace webrtc {
-class VideoFramesQueue
-{
-public:
- VideoFramesQueue();
- ~VideoFramesQueue();
+class VideoFramesQueue {
+ public:
+ VideoFramesQueue();
+ ~VideoFramesQueue();
- // Put newFrame (last) in the queue.
- WebRtc_Word32 AddFrame(const I420VideoFrame& newFrame);
+ // Put newFrame (last) in the queue.
+ WebRtc_Word32 AddFrame(const I420VideoFrame& newFrame);
- // Return the most current frame. I.e. the frame with the highest
- // VideoFrame::RenderTimeMs() that is lower than
- // TickTime::MillisecondTimestamp().
- I420VideoFrame* FrameToRecord();
+ // Return the most current frame. I.e. the frame with the highest
+ // VideoFrame::RenderTimeMs() that is lower than
+ // TickTime::MillisecondTimestamp().
+ I420VideoFrame* FrameToRecord();
- // Set the render delay estimate to renderDelay ms.
- WebRtc_Word32 SetRenderDelay(WebRtc_UWord32 renderDelay);
+ // Set the render delay estimate to renderDelay ms.
+ WebRtc_Word32 SetRenderDelay(WebRtc_UWord32 renderDelay);
-protected:
- // Make ptrOldFrame available for re-use. I.e. put it in the empty frames
- // queue.
- WebRtc_Word32 ReturnFrame(I420VideoFrame* ptrOldFrame);
+ protected:
+ // Make ptrOldFrame available for re-use. I.e. put it in the empty frames
+ // queue.
+ WebRtc_Word32 ReturnFrame(I420VideoFrame* ptrOldFrame);
-private:
- // Don't allow the buffer to expand beyond KMaxNumberOfFrames VideoFrames.
- // 300 frames correspond to 10 seconds worth of frames at 30 fps.
- enum {KMaxNumberOfFrames = 300};
+ private:
+ // Don't allow the buffer to expand beyond KMaxNumberOfFrames VideoFrames.
+ // 300 frames correspond to 10 seconds worth of frames at 30 fps.
+ enum {KMaxNumberOfFrames = 300};
- // List of VideoFrame pointers. The list is sorted in the order of when the
- // VideoFrame was inserted into the list. The first VideoFrame in the list
- // was inserted first.
- ListWrapper _incomingFrames;
- // A list of frames that are free to be re-used.
- ListWrapper _emptyFrames;
+ // List of VideoFrame pointers. The list is sorted in the order of when the
+ // VideoFrame was inserted into the list. The first VideoFrame in the list
+ // was inserted first.
+ ListWrapper _incomingFrames;
+ // A list of frames that are free to be re-used.
+ ListWrapper _emptyFrames;
- // Estimated render delay.
- WebRtc_UWord32 _renderDelayMs;
+ // Estimated render delay.
+ WebRtc_UWord32 _renderDelayMs;
};
} // namespace webrtc
#endif // WEBRTC_MODULE_UTILITY_VIDEO