mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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>
This commit is contained in:
parent
abe3f79d62
commit
1e5cb426c6
@ -119,8 +119,13 @@ enum AVDevToAppMessageType {
|
|||||||
* Device requests to create a window buffer. Exact meaning is device-
|
* Device requests to create a window buffer. Exact meaning is device-
|
||||||
* and application-dependent. Message is sent before rendering first
|
* and application-dependent. Message is sent before rendering first
|
||||||
* frame and all one-shot initializations should be done here.
|
* 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'),
|
AV_DEV_TO_APP_CREATE_WINDOW_BUFFER = MKBETAG('B','C','R','E'),
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#define LIBAVDEVICE_VERSION_MAJOR 55
|
#define LIBAVDEVICE_VERSION_MAJOR 55
|
||||||
#define LIBAVDEVICE_VERSION_MINOR 9
|
#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, \
|
#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
|
||||||
LIBAVDEVICE_VERSION_MINOR, \
|
LIBAVDEVICE_VERSION_MINOR, \
|
||||||
|
Loading…
Reference in New Issue
Block a user