mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
vaapidecode: fix mismatch of the return type
https://bugzilla.gnome.org/show_bug.cgi?id=786307
This commit is contained in:
parent
a07ff9641c
commit
ee159b58ee
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue