libav: guard dropped AV_OPT_TYPE_CHANNEL_LAYOUT

The FF_API_OLD_CHANNEL_LAYOUT api was dropped in upstream:

https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/65ddc7498824

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6632>
This commit is contained in:
U. Artie Eoff 2024-03-12 12:14:57 -04:00 committed by GStreamer Marge Bot
parent 383723e095
commit f137e41a09

View file

@ -442,7 +442,9 @@ install_opts (GObjectClass * gobject_class, const AVClass ** obj, guint prop_id,
break;
/* TODO: didn't find options for the video encoders with
* the following type, add support if needed */
#if LIBAVUTIL_VERSION_MAJOR < 59
case AV_OPT_TYPE_CHANNEL_LAYOUT:
#endif
case AV_OPT_TYPE_COLOR:
case AV_OPT_TYPE_VIDEO_RATE:
case AV_OPT_TYPE_SAMPLE_FMT: