History

lavc: Add flag to allow profile mismatch with hardware decoding

(cherry picked from commit 64a5260c695dd8051509d3270295fd64eac56587)

Mark Thompson committed 9 years ago

Commit 49ae8a51 parent b658b533 files · +18 −1Browse files

Showing the changes to libavcodec/avcodec.h (1 of 3 files). Show all

Unified · Split

libavcodec/avcodec.h+14−0
@@ -4001,6 +4001,20 @@ typedef struct AVHWAccel { · 4000 unmodified lines
4001 */4001 */
4002#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1)4002#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1)
4003 4003
4004/**
4005 * Hardware acceleration should still be attempted for decoding when the
4006 * codec profile does not match the reported capabilities of the hardware.
4007 *
4008 * For example, this can be used to try to decode baseline profile H.264
4009 * streams in hardware - it will often succeed, because many streams marked
4010 * as baseline profile actually conform to constrained baseline profile.
4011 *
4012 * @warning If the stream is actually not supported then the behaviour is
4013 * undefined, and may include returning entirely incorrect output
4014 * while indicating success.
4015 */
4016#define AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH (1 << 2)
4017
4004/**4018/**
4005 * @}4019 * @}
4006 */4020 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t