mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
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:
parent
383723e095
commit
f137e41a09
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue