On 08/10/15 03:57, Mario Gasparoni wrote:
> +    if ((s->max_nal_size) && (s->slice_mode != SM_DYN_SLICE)){
> +        av_log(avctx,AV_LOG_ERROR,"Invalid slice_mode (%d). Try using 
> -slice_mode dyn if you want to specify a max_nal_size\n",s->slice_mode);
> +        goto fail;
> +    }

Personally I'd prefer to automatically change the slice mode if
max_nal_size is set and auto is set.

The patch seems fine otherwise.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to