diff options
author | David Schleef <david.schleef@rd.io> | 2013-11-11 19:15:20 -0800 |
---|---|---|
committer | David Schleef <david.schleef@rd.io> | 2013-11-17 14:28:00 -0800 |
commit | a0b7a1095180e256a816d549f30dffd9d83b3b48 (patch) | |
tree | cf359514bb1bb390c442c0e173d4410e79ac6137 | |
parent | 3c3e7335995ae5b50fe6b4c53ee6039e519c728c (diff) |
vod: Allow free-form content versions
-rw-r--r-- | gst-streaming-server/gss-vod.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gst-streaming-server/gss-vod.c b/gst-streaming-server/gss-vod.c index 5a33a60..21c4604 100644 --- a/gst-streaming-server/gss-vod.c +++ b/gst-streaming-server/gss-vod.c @@ -320,17 +320,6 @@ gss_vod_get_adaptive_resource (GssTransaction * t) stream = chomp (&path); stream_type = gss_adaptive_get_stream_type (stream); - if (!content_version[0] || - !g_ascii_isxdigit (content_version[0]) || content_version[1] != 0) { - gss_transaction_error_not_found (t, "invalid content version"); - goto error; - } - - if (g_ascii_xdigit_value (content_version[0]) != 0) { - gss_transaction_error_not_found (t, "unavailable content version"); - goto error; - } - if (drm_type == GSS_DRM_UNKNOWN) { gss_transaction_error_not_found (t, "invalid drm type"); goto error; |