diff options
-rw-r--r-- | libhb/pad.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/pad.c b/libhb/pad.c index eee3e1c79..9c0be9d11 100644 --- a/libhb/pad.c +++ b/libhb/pad.c @@ -90,14 +90,15 @@ static int pad_init(hb_filter_object_t * filter, hb_filter_init_t * init) { snprintf(y_str, 20, "%d", y); } - if (width < 0) + if (width < init->geometry.width) { width = init->geometry.width; } - if (height < 0) + if (height < init->geometry.height) { height = init->geometry.height; } + hb_dict_t * avfilter = hb_dict_init(); hb_dict_t * avsettings = hb_dict_init(); |