summaryrefslogtreecommitdiff
path: root/sys/msdk/gstmsdkdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/msdk/gstmsdkdec.c')
-rw-r--r--sys/msdk/gstmsdkdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/msdk/gstmsdkdec.c b/sys/msdk/gstmsdkdec.c
index b336205e3..7c7aeaa1d 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);