mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
bitmap_packet: let max=0 mean unlimited
And remove the strange PACKER_MAX_WH define. This is more convenient for users which don't care about limits, such as sd_lavc.c.
This commit is contained in:
@@ -150,7 +150,6 @@ static int init(struct sd *sd)
|
||||
priv->displayed_id = -1;
|
||||
priv->current_pts = MP_NOPTS_VALUE;
|
||||
priv->packer = talloc_zero(priv, struct bitmap_packer);
|
||||
priv->packer->w_max = priv->packer->h_max = PACKER_MAX_WH;
|
||||
return 0;
|
||||
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user