GST_VIDEO_INFO_FORMAT (&thiz->srcpad_info))
passthrough = FALSE;
- GST_OBJECT_UNLOCK (thiz);
gst_base_transform_set_passthrough (GST_BASE_TRANSFORM (thiz), passthrough);
- GST_OBJECT_LOCK (thiz);
}
static gboolean
msdk_status_to_string (status));
}
- /* set passthrough according to filter operation change */
- gst_msdkvpp_set_passthrough (thiz);
-
status = MFXVideoVPP_QueryIOSurf (session, &thiz->param, request);
if (status < MFX_ERR_NONE) {
GST_ERROR_OBJECT (thiz, "VPP Query IO surfaces failed (%s)",
if (!gst_msdkvpp_initialize (thiz))
return FALSE;
+ /* set passthrough according to filter operation change */
+ gst_msdkvpp_set_passthrough (thiz);
+
/* Ensure sinkpad buffer pool */
thiz->sinkpad_buffer_pool =
gst_msdkvpp_create_buffer_pool (thiz, GST_PAD_SINK, caps,