media/base: Add FourccToString().
In Chrome media codebase, it sometimes outputs fourcc value to log. However, we need to table lookup to know which format it refers to. If we convert the 32bit value into four character code (what fourcc stands for), it is easier to get what the format is. BUG=chromium:882339 TEST=Build and run media_unittests --gtest_filter=VideoTypesTest* Change-Id: I806699ff93646640b69d328e2dffae0ba4e84067 Reviewed-on: https://chromium-review.googlesource.com/1216763 Commit-Queue: Shuo-Peng Liao <deanliao@google.com> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#590571}
Showing
Please register or sign in to comment