diff --git a/subprojects/gst-plugins-bad/sys/va/gstvavpp.c b/subprojects/gst-plugins-bad/sys/va/gstvavpp.c index f4a04a8475..bfa1fc583e 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvavpp.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvavpp.c @@ -432,6 +432,10 @@ gst_va_vpp_update_properties (GstVaBaseTransform * btrans) GstVaVpp *self = GST_VA_VPP (btrans); gst_va_vpp_rebuild_filters (self); + + /* resetting prev_direction ensures the orientation is actually applied to + * the new instance of GstVaFilter we are configuring here */ + self->prev_direction = GST_VIDEO_ORIENTATION_IDENTITY; _update_properties_unlocked (self); }