summaryrefslogtreecommitdiff
path: root/tools_common.h
diff options
context:
space:
mode:
authorAlex Converse <aconverse@google.com>2014-05-16 12:29:36 -0700
committerAlex Converse <aconverse@google.com>2014-05-16 12:31:34 -0700
commit6c2e88e932375ab1e479eb1fba6be29f76d5ebab (patch)
tree9890f5cc8875e0d3c8ae7affa39b7050a9903611 /tools_common.h
parent1bec51d666e73e274ea557a00fec66d17ea2782f (diff)
downloadlibvpx-6c2e88e932375ab1e479eb1fba6be29f76d5ebab.tar
libvpx-6c2e88e932375ab1e479eb1fba6be29f76d5ebab.tar.gz
libvpx-6c2e88e932375ab1e479eb1fba6be29f76d5ebab.tar.bz2
libvpx-6c2e88e932375ab1e479eb1fba6be29f76d5ebab.zip
Rewrite encoder input format handling.
The previous approach can't scale to all of or new formats. This also fixes YV12 input. Change-Id: Ic4ad333770bbbd0e921f519199b57862afcbe1ab
Diffstat (limited to 'tools_common.h')
-rw-r--r--tools_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools_common.h b/tools_common.h
index 21248827a..e033de23d 100644
--- a/tools_common.h
+++ b/tools_common.h
@@ -89,7 +89,7 @@ struct VpxInputContext {
enum VideoFileType file_type;
uint32_t width;
uint32_t height;
- int use_i420;
+ vpx_img_fmt_t fmt;
int only_i420;
uint32_t fourcc;
struct VpxRational framerate;