mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-16 13:37:05 -04:00
- 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.
22 lines
430 B
C
22 lines
430 B
C
#include <string.h>
|
|
#include <obs.h>
|
|
|
|
EXPORT bool enum_outputs(size_t idx, const char **name);
|
|
EXPORT uint32_t module_version(uint32_t in_version);
|
|
|
|
static const char *outputs[] = {"ffmpeg_output"};
|
|
|
|
uint32_t module_version(uint32_t in_version)
|
|
{
|
|
return LIBOBS_API_VER;
|
|
}
|
|
|
|
bool enum_outputs(size_t idx, const char **name)
|
|
{
|
|
if (idx >= sizeof(outputs)/sizeof(const char*))
|
|
return false;
|
|
|
|
*name = outputs[idx];
|
|
return true;
|
|
}
|