Chromium Code Reviews| Index: media/ffmpeg/ffmpeg_common.h |
| diff --git a/media/ffmpeg/ffmpeg_common.h b/media/ffmpeg/ffmpeg_common.h |
| index dbdbc6e3923ae29366928265cafdd65dda09f3b2..87f6ffa430eedd710a8fd4bbb8467f6a38c49103 100644 |
| --- a/media/ffmpeg/ffmpeg_common.h |
| +++ b/media/ffmpeg/ffmpeg_common.h |
| @@ -81,6 +81,8 @@ CodecID VideoCodecToCodecID(VideoCodec video_codec); |
| // good guess about the plausible channel layout based on number of channels. |
| ChannelLayout ChannelLayoutToChromeChannelLayout(int64_t layout, |
| int channels); |
| +// Converts FFmpeg's pixel formats to the corresponding supported video format. |
|
scherkus (not reviewing)
2011/09/28 17:32:17
nit: add one blank line before this (in general co
shadi1
2011/09/29 18:31:03
Done.
shadi1
2011/09/29 18:31:03
Done.
|
| +VideoFrame::Format PixFmtToVideoFormat(PixelFormat pix_fmt); |
|
scherkus (not reviewing)
2011/09/28 17:32:17
nit: PixFmt -> PixelFormat
shadi1
2011/09/29 18:31:03
Done.
|
| // Calculates duration of one frame in the |stream| based on its frame rate. |
| base::TimeDelta GetFrameDuration(AVStream* stream); |