Quoting Mark Thompson (2017-04-23 21:21:09)
> This is something of a hack.  It allocates a new hwframe context for
> the target format, then maps it back to the source link and overwrites
> the input link hw_frames_ctx so that the previous filter will receive
> the frames we want from ff_get_video_buffer().  It may fail if
> the previous filter imposes any additional constraints on the frames
> it wants to use as output.
> ---
> Unchanged.

Yes, very nasty. We might want to use the hdparm manpage as inspiration
(EXTREMELY DANGEROUS, DO NOT USE THIS OPTION)

No real objections, other than "i wish it was possible to do this in a
more sane way".

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

Reply via email to