Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 16:02:59 +0100 wm4 wrote: > Explicitly identify decoder/encoder wrappers with a common name. This > saves API users from guessing by the name suffix. For example, they > don't have to guess that "h264_qsv" is the h264 QSV implementation, and > instead

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread Philip Langdale
On 2017-12-14 07:02, wm4 wrote: Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 16:01:49 + Aman Gupta wrote: > > diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c > > index 086beb41fc..c47e5c4045 100644 > > --- a/libavcodec/videotoolboxenc.c > > +++ b/libavcodec/videotoolboxenc.c > > @@ -2599,8 +2599,9 @@

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread Aman Gupta
On Thu, Dec 14, 2017 at 7:10 AM wm4 wrote: > Explicitly identify decoder/encoder wrappers with a common name. This > saves API users from guessing by the name suffix. For example, they > don't have to guess that "h264_qsv" is the h264 QSV implementation, and > instead they

[FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread wm4
Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly