On 23/06/16 02:40, Mark Thompson wrote:
> Not needed any more because we no longer have any useful case which
> will reinitialise with hardware frames here.
> ---
> To go on top of Anton's avconv series.
> 
> This was always a nasty hack because it could break stream changes with 
> non-hardware streams when a hardware device was present.  Now that we can get 
> rid of it we should do so.
> 
>  avconv_filter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/avconv_filter.c b/avconv_filter.c
> index 9c983c0..f7ce76f 100644
> --- a/avconv_filter.c
> +++ b/avconv_filter.c
> @@ -317,7 +317,7 @@ static int configure_output_video_filter(FilterGraph *fg, 
> OutputFilter *ofilter,
>      if (ret < 0)
>          return ret;
> 
> -    if (!hw_device_ctx && (ofilter->width || ofilter->height)) {
> +    if (ofilter->width || ofilter->height) {
>          char args[255];
>          AVFilterContext *filter;
> 

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

Reply via email to