mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
dashdemux: do not ignore failure to register typefinder
Coverity 1139629
This commit is contained in:
parent
2dd898793e
commit
2e940ba253
1 changed files with 3 additions and 2 deletions
|
@ -92,8 +92,9 @@ fragmented_init (GstPlugin * plugin)
|
|||
if (!gst_element_register (plugin, "dashdemux", GST_RANK_PRIMARY,
|
||||
GST_TYPE_DASH_DEMUX) || FALSE)
|
||||
return FALSE;
|
||||
gst_type_find_register (plugin, "application/dash+xml",
|
||||
GST_RANK_SECONDARY, dash_type_find, NULL, DASH_CAPS, NULL, NULL);
|
||||
if (!gst_type_find_register (plugin, "application/dash+xml",
|
||||
GST_RANK_SECONDARY, dash_type_find, NULL, DASH_CAPS, NULL, NULL))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue