mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
mxfmux: Error out if we get a timeout during live mixing
We can't handle that but need complete streams without gaps.
This commit is contained in:
parent
73beb1834e
commit
8541424d34
1 changed files with 7 additions and 0 deletions
|
@ -1438,6 +1438,13 @@ gst_mxf_mux_aggregate (GstAggregator * aggregator, gboolean timeout)
|
|||
GList *l;
|
||||
gboolean eos = TRUE;
|
||||
|
||||
if (timeout) {
|
||||
GST_ELEMENT_ERROR (mux, STREAM, MUX, (NULL),
|
||||
("Live mixing and got a timeout. This is not supported yet"));
|
||||
ret = GST_FLOW_ERROR;
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (mux->state == GST_MXF_MUX_STATE_ERROR) {
|
||||
GST_ERROR_OBJECT (mux, "Had an error before -- returning");
|
||||
return GST_FLOW_ERROR;
|
||||
|
|
Loading…
Reference in a new issue