Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transcoding: allow to 'not change' the resolution (use 0 value), fixe…
…s #2910
  • Loading branch information
perexg committed Jun 1, 2015
1 parent 581a2c0 commit 5b6ed5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/profile.c
Expand Up @@ -1527,7 +1527,8 @@ const idclass_t profile_transcode_class =
static int
profile_transcode_resolution(profile_transcode_t *pro)
{
return pro->pro_resolution >= 240 ? pro->pro_resolution : 240;
return pro->pro_resolution == 0 ? 0 :
(pro->pro_resolution >= 240 ? pro->pro_resolution : 240);
}

static int
Expand Down

0 comments on commit 5b6ed5e

Please sign in to comment.