Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion rpi/src/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,11 @@ int IO::InitFFmpeg() // pass the drm_fd here maybe instead of back door?
AVBufferRef * hw_device_ctx = nullptr;
const char *hw_decoder_name = "drm";
enum AVHWDeviceType type;
AVCodec *av_codec;
#if LIBAVCODEC_VERSION_MAJOR < 59
AVCodec *av_codec;
else
const AVCodec *av_codec;
#endif

const char *codec_name = "h264_v4l2m2m";
ChiakiCodec chi_codec = host->gui->settings->GetChiakiCodec(host->session_settings.sess.codec, stoi(host->session_settings.isPS5));
Expand Down