diff --git a/sys/msdk/gstmsdkdec.c b/sys/msdk/gstmsdkdec.c index b336205e36..7c7aeaa1d6 100644 --- a/sys/msdk/gstmsdkdec.c +++ b/sys/msdk/gstmsdkdec.c @@ -443,7 +443,7 @@ gst_msdkdec_stop (GstVideoDecoder * decoder) } if (thiz->pool) { gst_object_unref (thiz->pool); - thiz->input_state = NULL; + thiz->pool = NULL; } gst_video_info_init (&thiz->output_info); gst_video_info_init (&thiz->pool_info);