You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge branch 'develop' into json-parsing
This commit is contained in:
@@ -191,10 +191,10 @@ static enum AVPixelFormat get_hw_dec_format(AVCodecContext *ctx, const enum AVPi
|
||||
#if defined(__APPLE__)
|
||||
// Apple pix formats
|
||||
case AV_PIX_FMT_VIDEOTOOLBOX:
|
||||
hw_de_av_pix_fmt_global = AV_PIX_FMT_VIDEOTOOLBOX;
|
||||
hw_de_av_device_type_global = AV_HWDEVICE_TYPE_VIDEOTOOLBOX;
|
||||
return *p;
|
||||
break;
|
||||
hw_de_av_pix_fmt_global = AV_PIX_FMT_VIDEOTOOLBOX;
|
||||
hw_de_av_device_type_global = AV_HWDEVICE_TYPE_VIDEOTOOLBOX;
|
||||
return *p;
|
||||
break;
|
||||
#endif
|
||||
// Cross-platform pix formats
|
||||
case AV_PIX_FMT_CUDA:
|
||||
@@ -207,6 +207,9 @@ static enum AVPixelFormat get_hw_dec_format(AVCodecContext *ctx, const enum AVPi
|
||||
hw_de_av_device_type_global = AV_HWDEVICE_TYPE_QSV;
|
||||
return *p;
|
||||
break;
|
||||
default:
|
||||
// This is only here to silence unused-enum warnings
|
||||
break;
|
||||
}
|
||||
}
|
||||
ZmqLogger::Instance()->AppendDebugMethod("FFmpegReader::get_hw_dec_format (Unable to decode this file using hardware decode)");
|
||||
|
||||
Reference in New Issue
Block a user