qtmux: Don't post an error message if pushing a sample failed with FLUSHING
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1711>
This commit is contained in:
parent
24c3e0fcfa
commit
8bda2ef474
@ -5412,7 +5412,10 @@ not_negotiated:
|
||||
}
|
||||
sample_error:
|
||||
{
|
||||
GST_ELEMENT_ERROR (qtmux, STREAM, MUX, (NULL), ("Failed to push sample."));
|
||||
/* Only post an error message for actual errors that are not flushing */
|
||||
if (pad->flow_status < GST_FLOW_OK && pad->flow_status != GST_FLOW_FLUSHING)
|
||||
GST_ELEMENT_ERROR (qtmux, STREAM, MUX, (NULL),
|
||||
("Failed to push sample."));
|
||||
return pad->flow_status;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user