You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
video_codec -> video_codec_ctx
This commit is contained in:
@@ -339,7 +339,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
|
||||
if (info.has_video && stream == VIDEO_STREAM && video_st) {
|
||||
st = video_st;
|
||||
// Get codec context
|
||||
c = AV_GET_CODEC_PAR_CONTEXT(st, video_codec);
|
||||
c = AV_GET_CODEC_PAR_CONTEXT(st, video_codec_ctx);
|
||||
// Was a codec / stream found?
|
||||
if (c) {
|
||||
if (info.interlaced_frame) {
|
||||
|
||||
Reference in New Issue
Block a user