Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: Quickfix for commit 9329a8b
  • Loading branch information
perexg committed Sep 29, 2015
1 parent 324f117 commit 94420f4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/dvr/dvr_rec.c
Expand Up @@ -127,13 +127,13 @@ dvr_rec_subscribe(dvr_entry_t *de)
pro->pro_name, channel_get_name(de->de_channel));
pro = profile_find_by_name(NULL, NULL);
profile_chain_init(prch, pro, de->de_channel);
}
if (profile_chain_open(prch, &de->de_config->dvr_muxcnf, 0, 0)) {
tvherror("dvr", "unable to create channel streaming default chain '%s' for '%s'",
pro->pro_name, channel_get_name(de->de_channel));
profile_chain_close(prch);
free(prch);
return -EINVAL;
if (profile_chain_open(prch, &de->de_config->dvr_muxcnf, 0, 0)) {
tvherror("dvr", "unable to create channel streaming default chain '%s' for '%s'",
pro->pro_name, channel_get_name(de->de_channel));
profile_chain_close(prch);
free(prch);
return -EINVAL;
}
}

de->de_s = subscription_create_from_channel(prch, NULL, weight,
Expand Down

0 comments on commit 94420f4

Please sign in to comment.