dshowdecwrapper: Don't use GST_FLOW_IS_FATAL()
And don't error out on UNEXPECTED
This commit is contained in:
parent
4376506183
commit
51e083fe8d
@ -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…
x
Reference in New Issue
Block a user