Commit 8e145e7f authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

ges: Handle empty marker lists

parent fe964056
......@@ -396,6 +396,11 @@ ges_marker_list_deserialize (GValue * dest, const gchar * s)
caps = gst_caps_from_string (s);
l = gst_caps_get_size (caps);
if (l == 0) {
GST_DEBUG ("Got empty caps: %s", s);
goto done;
}
if (l % 2) {
GST_ERROR ("Failed deserializing marker list: expected evenly-sized caps");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment