mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
qtmux: Don't post an error message if pushing a sample failed with FLUSHING
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1732>
This commit is contained in:
parent
29d32a8f00
commit
efd19d7d2a
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue