OSDN Git Service

hwaccel: Call ->get_format again if hwaccel init fails
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 16 Sep 2014 19:17:47 +0000 (22:17 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 26 Sep 2014 19:28:36 +0000 (21:28 +0200)
commit1c80c9d7ef809180042257200c7b5f6b81d0b0e2
treec642d47006c38dea27b5c1b3a3a87bf09efd3028
parent9d2cee52d37c7340f85a5d41110282aac03e6855
hwaccel: Call ->get_format again if hwaccel init fails

This allows the application to fall back on another hwaccel or,
more likely, software decoding.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/avcodec.h
libavcodec/utils.c