Index: media/filters/ffmpeg_demuxer.h |
=================================================================== |
--- media/filters/ffmpeg_demuxer.h (revision 105891) |
+++ media/filters/ffmpeg_demuxer.h (working copy) |
@@ -161,6 +161,10 @@ |
// For testing purposes. |
void disable_first_seek_hack_for_testing() { first_seek_hack_ = false; } |
+ // Returns the bitrate of media file. May be obtained from container or |
+ // approximated. Returns 0 if it is unknown. |
+ int GetBitrate(); |
+ |
private: |
// Only allow a factory to create this class. |
friend class MockFFmpegDemuxer; |