diff options
author | Emeric Grange <emeric.grange@gmail.com> | 2012-02-12 17:29:57 +0100 |
---|---|---|
committer | Emeric Grange <emeric.grange@gmail.com> | 2012-06-24 16:57:33 +0200 |
commit | 1f3a2c86dad689bd45f067229e14ef6273297b93 (patch) | |
tree | 429a239ab30f7fbcb76eb8ce5a685ad4046d34a6 | |
parent | b2a17008c0a7a8ba217cd577ff4716b1a5a3e855 (diff) |
g3dvl: Hack
Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 46265a2218..2a05ce93fe 100644 --- a/configure.ac +++ b/configure.ac @@ -186,7 +186,7 @@ if test "x$GCC" = xyes; then save_CFLAGS="$CFLAGS" AC_MSG_CHECKING([whether $CC supports -Werror=missing-prototypes]) CFLAGS="$CFLAGS -Werror=implicit-function-declaration" - CFLAGS="$CFLAGS -Werror=missing-prototypes" + #CFLAGS="$CFLAGS -Werror=missing-prototypes" AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]), [CFLAGS="$save_CFLAGS -Wmissing-prototypes"; diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 435aa7715b..418d2f35f8 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -563,7 +563,7 @@ static int r600_get_video_param(struct pipe_screen *screen, case PIPE_VIDEO_CAP_MAX_HEIGHT: return vl_video_buffer_max_size(screen); case PIPE_VIDEO_CAP_PREFERED_FORMAT: - return PIPE_FORMAT_NV12; + return PIPE_FORMAT_YV12; case PIPE_VIDEO_CAP_PREFERS_INTERLACED: return false; case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED: |