pinossrc: handle NULL clock type

This commit is contained in:
Wim Taymans 2015-12-03 15:49:15 +01:00
parent d81cbb2d93
commit a3a0a45d0b

View file

@ -477,6 +477,9 @@ parse_clock_info (GstPinosSrc *pinossrc)
g_object_get (pinossrc->stream, "properties", &props, NULL);
var = pinos_properties_get (props, "pinos.clock.type");
if (var == NULL)
return;
GST_DEBUG_OBJECT (pinossrc, "got clock type %s", var);
if (strcmp (var, "gst.net.time.provider") == 0) {
const gchar *address;