Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-29 Thread Mark Thompson
On 29/11/17 00:48, Jun Zhao wrote: > On 2017/11/29 8:34, Mark Thompson wrote: >> This removes all remaining device-type specificity. >> --- >> doc/examples/hw_decode.c | 55 >> >> 1 file changed, 23 insertions(+), 32 deletions(-) >> >> diff --git a

Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-29 Thread Mark Thompson
On 29/11/17 12:22, Moritz Barsnick wrote: > On Wed, Nov 29, 2017 at 00:34:03 +, Mark Thompson wrote: >> +if (type == AV_HWDEVICE_TYPE_NONE) { >> +fprintf(stderr, "Device type %s is not supported.\n", argv[1]); >> +fprintf(stderr, "Available device types:"); >> +type

Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-29 Thread Moritz Barsnick
On Wed, Nov 29, 2017 at 13:41:29 +0100, Timo Rothenpieler wrote: > Am 29.11.2017 um 13:22 schrieb Moritz Barsnick: > > On Wed, Nov 29, 2017 at 00:34:03 +, Mark Thompson wrote: > >> +if (type == AV_HWDEVICE_TYPE_NONE) { > >> +fprintf(stderr, "Device type %s is not supported.\n", argv

Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-29 Thread Carl Eugen Hoyos
2017-11-29 13:41 GMT+01:00 Timo Rothenpieler : > Am 29.11.2017 um 13:22 schrieb Moritz Barsnick: >> >> On Wed, Nov 29, 2017 at 00:34:03 +, Mark Thompson wrote: >>> >>> +if (type == AV_HWDEVICE_TYPE_NONE) { >>> +fprintf(stderr, "Device type %s is not supported.\n", argv[1]); >>> +

Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-29 Thread Timo Rothenpieler
Am 29.11.2017 um 13:22 schrieb Moritz Barsnick: On Wed, Nov 29, 2017 at 00:34:03 +, Mark Thompson wrote: +if (type == AV_HWDEVICE_TYPE_NONE) { +fprintf(stderr, "Device type %s is not supported.\n", argv[1]); +fprintf(stderr, "Available device types:"); +type = AV_

Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-29 Thread Moritz Barsnick
On Wed, Nov 29, 2017 at 00:34:03 +, Mark Thompson wrote: > +if (type == AV_HWDEVICE_TYPE_NONE) { > +fprintf(stderr, "Device type %s is not supported.\n", argv[1]); > +fprintf(stderr, "Available device types:"); > +type = AV_HWDEVICE_TYPE_NONE; > +while((type

Re: [FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-28 Thread Jun Zhao
On 2017/11/29 8:34, Mark Thompson wrote: > This removes all remaining device-type specificity. > --- > doc/examples/hw_decode.c | 55 > > 1 file changed, 23 insertions(+), 32 deletions(-) > > diff --git a/doc/examples/hw_decode.c b/doc/examples/h

[FFmpeg-devel] [PATCH] examples/hw_decode: Use hw-config information to find pixfmt

2017-11-28 Thread Mark Thompson
This removes all remaining device-type specificity. --- doc/examples/hw_decode.c | 55 1 file changed, 23 insertions(+), 32 deletions(-) diff --git a/doc/examples/hw_decode.c b/doc/examples/hw_decode.c index 9c7adbf51a..8f48f3b706 100644 --- a/doc/