transcoding: fixed copy & paste error, making it impossible to disable transcoding from the webui once enabled.

This commit is contained in:
John Törnblom 2013-08-11 21:34:43 +02:00
parent 012ed060cb
commit 2b64995434

View file

@ -2077,9 +2077,8 @@ extjs_config(http_connection_t *hc, const char *remain, void *opaque)
/* Transcoding */
#if ENABLE_LIBAV
save = 0;
if ((str = http_arg_get(&hc->hc_req_args, "transcoding_enabled")))
save |= transcoding_set_enabled(!!str);
str = http_arg_get(&hc->hc_req_args, "transcoding_enabled");
save = transcoding_set_enabled(!!str);
if (save)
transcoding_save();
#endif