diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp index 011a5724be..1f4bd989a6 100644 --- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp +++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp @@ -519,7 +519,7 @@ gst_dshowaudiodec_chain (GstPad * pad, GstBuffer * buffer) goto beach; } - if (GST_FLOW_IS_FATAL (adec->last_ret)) { + if (adec->last_ret < GST_FLOW_UNEXPECTED) { GST_DEBUG_OBJECT (adec, "last decoding iteration generated a fatal error " "%s", gst_flow_get_name (adec->last_ret)); goto beach; diff --git a/sys/dshowdecwrapper/gstdshowvideodec.cpp b/sys/dshowdecwrapper/gstdshowvideodec.cpp index 8a2e614231..6be02fe45d 100644 --- a/sys/dshowdecwrapper/gstdshowvideodec.cpp +++ b/sys/dshowdecwrapper/gstdshowvideodec.cpp @@ -793,7 +793,7 @@ gst_dshowvideodec_chain (GstPad * pad, GstBuffer * buffer) goto beach; } - if (GST_FLOW_IS_FATAL (vdec->last_ret)) { + if (vdec->last_ret < GST_FLOW_UNEXPECTED) { GST_DEBUG_OBJECT (vdec, "last decoding iteration generated a fatal error " "%s", gst_flow_get_name (vdec->last_ret)); goto beach;