Add planar audio support, improve test output
- Add planar audio support. FFmpeg and libav use planar audio for many encoders, so it was somewhat necessary to add support in libobs itself. - Improve/adjust FFmpeg test output plugin. The exports were somewhat messed up (making me rethink how exports should be done). Not yet functional; it handles video properly, but it still does not handle audio properly. - Improve planar video code. The planar video code was not properly accounting for row sizes for each plane. Specifying row sizes for each plane has now been added. This will also make it more compatible with FFmpeg/libav. - Fixed a bug where callbacks wouldn't create properly in audio-io and video-io code. - Implement 'blogva' function to allow for va_list usage with libobs logging.
This commit is contained in:
@@ -89,7 +89,7 @@ static inline void required_extension_error(const char *extension)
|
||||
{
|
||||
}
|
||||
|
||||
static bool gl_init_extensions(struct gs_device* device)
|
||||
static bool gl_init_extensions(struct gs_device* device)
|
||||
{
|
||||
if (!ogl_IsVersionGEQ(2, 1)) {
|
||||
blog(LOG_ERROR, "obs-studio requires OpenGL version 2.1 or "
|
||||
|
Reference in New Issue
Block a user