mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-01 17:31:10 +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,
|
if (!gst_element_register (plugin, "dashdemux", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_DASH_DEMUX) || FALSE)
|
GST_TYPE_DASH_DEMUX) || FALSE)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
gst_type_find_register (plugin, "application/dash+xml",
|
if (!gst_type_find_register (plugin, "application/dash+xml",
|
||||||
GST_RANK_SECONDARY, dash_type_find, NULL, DASH_CAPS, NULL, NULL);
|
GST_RANK_SECONDARY, dash_type_find, NULL, DASH_CAPS, NULL, NULL))
|
||||||
|
return FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue