diff options
author | David Schleef <david.schleef@rd.io> | 2013-11-11 19:23:33 -0800 |
---|---|---|
committer | David Schleef <david.schleef@rd.io> | 2013-11-17 14:28:00 -0800 |
commit | 7cdd51f86f6a2a1a90b98395c0ad755bcbbc30ac (patch) | |
tree | e14040c80aaa5a255397d75e7195ba24e5e9f8ca | |
parent | a0b7a1095180e256a816d549f30dffd9d83b3b48 (diff) |
adaptive: fix crash if version not found
-rw-r--r-- | gst-streaming-server/gss-adaptive.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-streaming-server/gss-adaptive.c b/gst-streaming-server/gss-adaptive.c index 9ba0864..9a847d0 100644 --- a/gst-streaming-server/gss-adaptive.c +++ b/gst-streaming-server/gss-adaptive.c @@ -983,7 +983,8 @@ parse_json (GssAdaptive * adaptive, JsonParser * parser, const char *dir, return TRUE; } - return TRUE; + GST_ERROR ("requested version not found: %s", requested_version); + return FALSE; } GssAdaptive * |