mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-20 23:00:02 +01:00
WIP
This commit is contained in:
@@ -146,7 +146,7 @@ int avhelper_hwaccel(AVCodecContext *codec_context) {
|
||||
|
||||
for( i = 0;; i++ ) {
|
||||
|
||||
AVCodecHWConfig *hw_config = avcodec_get_hw_config(codec_context,i);
|
||||
AVCodecHWConfig *hw_config = avcodec_get_hw_config(codec_context->codec,i);
|
||||
if(!hw_config) {
|
||||
veejay_msg(0, "Decoder %s does not support hwaccel", codec_context->codec->name);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user