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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 10832087: Remove VideoDecoderConfig.frame_rate_xxx() & VideoFrame:Get/SetDuration() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index 9363b53106fb0fe0f4323e74eb39630293de6c28..13d27b530144c8d264e91aae6e4f15dc6b637735 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -119,7 +119,7 @@ class MEDIA_EXPORT GpuVideoDecoder
void RecordBufferTimeData(
const BitstreamBuffer& bitstream_buffer, const Buffer& buffer);
void GetBufferTimeData(
- int32 id, base::TimeDelta* timestamp, base::TimeDelta* duration);
+ int32 id, base::TimeDelta* timestamp);
// Set |vda_| and |weak_vda_| on the VDA thread (in practice the render
// thread).
@@ -146,10 +146,6 @@ class MEDIA_EXPORT GpuVideoDecoder
// on information provided by VideoDecoders (i.e., aspect ratio).
gfx::Size natural_size_;
- // Frame duration specified in the video stream's configuration, or 0 if not
- // present.
- base::TimeDelta config_frame_duration_;
-
// Pointer to the demuxer stream that will feed us compressed buffers.
scoped_refptr<DemuxerStream> demuxer_stream_;
@@ -199,11 +195,10 @@ class MEDIA_EXPORT GpuVideoDecoder
uint32 decoder_texture_target_;
struct BufferTimeData {
Ami GONE FROM CHROMIUM 2012/07/31 18:13:52 this can just be a pair now.
acolwell GONE FROM CHROMIUM 2012/07/31 18:41:24 Done.
- BufferTimeData(int32 bbid, base::TimeDelta ts, base::TimeDelta dur);
+ BufferTimeData(int32 bbid, base::TimeDelta ts);
~BufferTimeData();
int32 bitstream_buffer_id;
base::TimeDelta timestamp;
- base::TimeDelta duration;
};
std::list<BufferTimeData> input_buffer_time_data_;

Powered by Google App Engine
This is Rietveld 408576698