diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index a6408ea4db1ad89088ca40eba5b59784a2f82583..3306020628c0047dbcc1908ca2de039ac1c7d926 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -119,8 +119,13 @@ enum AVDevToAppMessageType { * Device requests to create a window buffer. Exact meaning is device- * and application-dependent. Message is sent before rendering first * frame and all one-shot initializations should be done here. + * Application is allowed to ignore preferred window buffer size. * - * data: NULL. + * @note: Application is obligated to inform about window buffer size + * with AV_APP_TO_DEV_WINDOW_SIZE message. + * + * data: AVDeviceRect: preferred size of the window buffer. + * NULL: no preferred size of the window buffer. */ AV_DEV_TO_APP_CREATE_WINDOW_BUFFER = MKBETAG('B','C','R','E'), diff --git a/libavdevice/version.h b/libavdevice/version.h index 956ed74643597bcf870817edf60c2e138a12b38f..55d7e93b3b263913e3cd2c2673599f4e0e8fa740 100644 --- a/libavdevice/version.h +++ b/libavdevice/version.h @@ -29,7 +29,7 @@ #define LIBAVDEVICE_VERSION_MAJOR 55 #define LIBAVDEVICE_VERSION_MINOR 9 -#define LIBAVDEVICE_VERSION_MICRO 100 +#define LIBAVDEVICE_VERSION_MICRO 101 #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ LIBAVDEVICE_VERSION_MINOR, \