mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
vaapipostproc: update PAR when rotating
When rotating, swap pixel-aspect-ratio during negotiation. Fixes #181
This commit is contained in:
parent
f1aa0cc5e0
commit
4e4ca03bc1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue