mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue