diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-02-14 03:30:45 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-14 08:13:33 +0400 |
commit | 1e5cb426c687858bdc3d2729123790de106d00cb (patch) | |
tree | 4e8defea373c84ab7f69fa3eef9f4b4c56a43555 /libavdevice | |
parent | abe3f79d62f4f6d0175310a01fa18935f8fae3ef (diff) |
lavd/avdevice: add param to create window buffer message
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/avdevice.h | 7 | ||||
-rw-r--r-- | libavdevice/version.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index a6408ea4db..3306020628 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 956ed74643..55d7e93b3b 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, \ |