mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
mpegtsmux: Post error on the bus if no mapping is found
This is more useful/visible Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7707>
This commit is contained in:
parent
244b00ac08
commit
6ba70f5da8
1 changed files with 4 additions and 1 deletions
|
@ -945,7 +945,10 @@ gst_base_ts_mux_create_or_update_stream (GstBaseTsMux * mux,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (st == TSMUX_ST_RESERVED) {
|
if (st == TSMUX_ST_RESERVED) {
|
||||||
GST_ERROR_OBJECT (ts_pad, "Failed to determine stream type");
|
GST_ELEMENT_ERROR (mux, STREAM, MUX,
|
||||||
|
("Failed to determine stream type or mapping is not supported"),
|
||||||
|
("If you're using an experimental or non-standard mapping you may have to "
|
||||||
|
"set the enable-custom-mappings property to TRUE."));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue