On 21/06/16 18:50, Anton Khirnov wrote:
> Setting the filter input parameters is moved to init_input_stream(),
> so that it is done before the decoder is opened, potentially overwriting
> the information from avformat_find_stream_info() with less accurate
> data.
>
> This commit temporarily disabled QSV transcoding with hw frames. The
> functionality will be re-added in the following commits.
LGTM, except...
> + if ((enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO ||
> + enc_ctx->codec_type == AVMEDIA_TYPE_AUDIO) &&
> + filtergraph_is_simple(ost->filter->graph)) {
> + FilterGraph *fg = ost->filter->graph;
> +
> + if (configure_filtergraph(fg)) {
> + av_log(NULL, AV_LOG_FATAL, "Error opening filters!\n");
> + exit_program(1);
> + }
> + }
...for funny indentation.
- Mark
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel