[FFmpeg-devel] [PATCH 13/35] avdevice: adding control message requesting to show config dialog
Nicolas George
george at nsup.org
Tue Jun 8 15:02:02 EEST 2021
Diederick Niehorster (12021-06-08):
> This control message can be used to programmatically ask a device to show its configuration dialog.
> Bumping avdevice version.
>
> Signed-off-by: Diederick Niehorster <dcnieho at gmail.com>
> ---
> libavdevice/avdevice.h | 10 ++++++++++
> libavdevice/version.h | 2 +-
> 2 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
> index 6f24976dcc..4fbdf6aabc 100644
> --- a/libavdevice/avdevice.h
> +++ b/libavdevice/avdevice.h
> @@ -190,6 +190,16 @@ enum AVAppToDevMessageType {
> */
> AV_APP_TO_DEV_GET_VOLUME = MKBETAG('G', 'V', 'O', 'L'),
> AV_APP_TO_DEV_GET_MUTE = MKBETAG('G', 'M', 'U', 'T'),
> +
> + /**
> + * Request to show configuration dialog.
> + *
> + * If device has a configuration dialog of type indicated by
> + * data, show it.
> + *
> + * data: int.
?
> + */
> + AV_APP_TO_DEV_CONFIG = MKBETAG('C', 'O', 'N', 'F'),
> };
>
> /**
> diff --git a/libavdevice/version.h b/libavdevice/version.h
> index 6e593ba00e..0381d6cd0d 100644
> --- a/libavdevice/version.h
> +++ b/libavdevice/version.h
> @@ -28,7 +28,7 @@
> #include "libavutil/version.h"
>
> #define LIBAVDEVICE_VERSION_MAJOR 59
> -#define LIBAVDEVICE_VERSION_MINOR 1
> +#define LIBAVDEVICE_VERSION_MINOR 2
> #define LIBAVDEVICE_VERSION_MICRO 100
>
> #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210608/11c96380/attachment.sig>
More information about the ffmpeg-devel
mailing list