Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -119,8 +119,13 @@ enum AVDevToAppMessageType { |
119 | 119 |
* Device requests to create a window buffer. Exact meaning is device- |
120 | 120 |
* and application-dependent. Message is sent before rendering first |
121 | 121 |
* frame and all one-shot initializations should be done here. |
122 |
+ * Application is allowed to ignore preferred window buffer size. |
|
122 | 123 |
* |
123 |
- * data: NULL. |
|
124 |
+ * @note: Application is obligated to inform about window buffer size |
|
125 |
+ * with AV_APP_TO_DEV_WINDOW_SIZE message. |
|
126 |
+ * |
|
127 |
+ * data: AVDeviceRect: preferred size of the window buffer. |
|
128 |
+ * NULL: no preferred size of the window buffer. |
|
124 | 129 |
*/ |
125 | 130 |
AV_DEV_TO_APP_CREATE_WINDOW_BUFFER = MKBETAG('B','C','R','E'), |
126 | 131 |
|
... | ... |
@@ -29,7 +29,7 @@ |
29 | 29 |
|
30 | 30 |
#define LIBAVDEVICE_VERSION_MAJOR 55 |
31 | 31 |
#define LIBAVDEVICE_VERSION_MINOR 9 |
32 |
-#define LIBAVDEVICE_VERSION_MICRO 100 |
|
32 |
+#define LIBAVDEVICE_VERSION_MICRO 101 |
|
33 | 33 |
|
34 | 34 |
#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ |
35 | 35 |
LIBAVDEVICE_VERSION_MINOR, \ |