mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
msdkdec: Correct return value of GstVideoDecoder::flush()
Use boolean instead of GstFlowReturn as declared. Note that since base class does not check return value of GstVideoDecoder::flush(), this would not cause any change of behavior.
This commit is contained in:
parent
a819f05851
commit
b88af2e4fe
1 changed files with 4 additions and 1 deletions
|
@ -1500,8 +1500,11 @@ static gboolean
|
|||
gst_msdkdec_flush (GstVideoDecoder * decoder)
|
||||
{
|
||||
GstMsdkDec *thiz = GST_MSDKDEC (decoder);
|
||||
GstFlowReturn ret;
|
||||
|
||||
return gst_msdkdec_drain (GST_VIDEO_DECODER_CAST (thiz));
|
||||
ret = gst_msdkdec_drain (GST_VIDEO_DECODER_CAST (thiz));
|
||||
|
||||
return ret == GST_FLOW_OK;
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
|
Loading…
Reference in a new issue