You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/11/13 19:35:01 UTC
[2/5] incubator-guacamole-server git commit: GUACAMOLE-68: Use
AV_PIX_FMT_RGB32 and AV_PIX_FMT_YUV420P constants (not PIX_FMT_RGB32 and
PIX_FMT_YUV420P).
GUACAMOLE-68: Use AV_PIX_FMT_RGB32 and AV_PIX_FMT_YUV420P constants (not PIX_FMT_RGB32 and PIX_FMT_YUV420P).
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/406a58de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/406a58de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/406a58de
Branch: refs/heads/master
Commit: 406a58de352df2550888a58bf93c1a3bad6602f6
Parents: 4ea5f16
Author: Michael Jumper <mj...@apache.org>
Authored: Sat Nov 12 19:21:37 2016 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Sat Nov 12 19:40:12 2016 -0800
----------------------------------------------------------------------
src/guacenc/video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/406a58de/src/guacenc/video.c
----------------------------------------------------------------------
diff --git a/src/guacenc/video.c b/src/guacenc/video.c
index 874dd16..4ca84f6 100644
--- a/src/guacenc/video.c
+++ b/src/guacenc/video.c
@@ -397,7 +397,7 @@ void guacenc_video_prepare_frame(guacenc_video* video, guacenc_buffer* buffer) {
/* Prepare scaling context */
struct SwsContext* sws = sws_getContext(src->width, src->height,
- PIX_FMT_RGB32, dst->width, dst->height, PIX_FMT_YUV420P,
+ AV_PIX_FMT_RGB32, dst->width, dst->height, AV_PIX_FMT_YUV420P,
SWS_BICUBIC, NULL, NULL, NULL);
/* Abort if scaling context could not be created */