mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
dshowdecwrapper: Don't use GST_FLOW_IS_FATAL()
And don't error out on UNEXPECTED
This commit is contained in:
parent
4376506183
commit
51e083fe8d
2 changed files with 2 additions and 2 deletions
|
@ -519,7 +519,7 @@ gst_dshowaudiodec_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
goto beach;
|
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 "
|
GST_DEBUG_OBJECT (adec, "last decoding iteration generated a fatal error "
|
||||||
"%s", gst_flow_get_name (adec->last_ret));
|
"%s", gst_flow_get_name (adec->last_ret));
|
||||||
goto beach;
|
goto beach;
|
||||||
|
|
|
@ -793,7 +793,7 @@ gst_dshowvideodec_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
goto beach;
|
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 "
|
GST_DEBUG_OBJECT (vdec, "last decoding iteration generated a fatal error "
|
||||||
"%s", gst_flow_get_name (vdec->last_ret));
|
"%s", gst_flow_get_name (vdec->last_ret));
|
||||||
goto beach;
|
goto beach;
|
||||||
|
|
Loading…
Reference in a new issue