vaapidecode: fix mismatch of the return type

https://bugzilla.gnome.org/show_bug.cgi?id=786307
This commit is contained in:
Hyunjun Ko 2017-08-15 17:36:51 +09:00 committed by Sebastian Dröge
parent a07ff9641c
commit ee159b58ee

View file

@ -984,7 +984,8 @@ gst_vaapidecode_reset (GstVaapiDecode * decode, GstCaps * caps,
return TRUE;
}
}
return gst_vaapi_decoder_reset (decode->decoder);
return (gst_vaapi_decoder_reset (decode->decoder) ==
GST_VAAPI_DECODER_STATUS_SUCCESS);
}
return gst_vaapidecode_create (decode, caps);