projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1aa0cc
)
vaapipostproc: update PAR when rotating
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Mon, 15 Jul 2019 22:33:07 +0000
(15:33 -0700)
committer
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Mon, 15 Jul 2019 22:33:15 +0000
(15:33 -0700)
When rotating, swap pixel-aspect-ratio during
negotiation.
Fixes #181
gst/vaapi/gstvaapipostprocutil.c
patch
|
blob
|
history
diff --git
a/gst/vaapi/gstvaapipostprocutil.c
b/gst/vaapi/gstvaapipostprocutil.c
index
e07c0f7
..
81f89c4
100644
(file)
--- a/
gst/vaapi/gstvaapipostprocutil.c
+++ b/
gst/vaapi/gstvaapipostprocutil.c
@@
-184,6
+184,7
@@
_fixate_frame_size (GstVaapiPostproc * postproc, GstVideoInfo * vinfo,
case GST_VIDEO_ORIENTATION_UL_LR:
case GST_VIDEO_ORIENTATION_UR_LL:
G_PRIMITIVE_SWAP (gint, from_w, from_h);
+ G_PRIMITIVE_SWAP (gint, from_par_n, from_par_d);
default:
break;
}