cleaned up main internal data structure design, changed to reference counting for sources to ensure safe destruction of source objects from all parts of the system, added some service-related stuff for testing

This commit is contained in:
jp9000
2013-11-20 15:00:16 -07:00
parent 5e33707f6a
commit 409b011a8e
18 changed files with 3155 additions and 327 deletions

View File

@@ -4,7 +4,7 @@ static const char *outputs[1] = {"rtmp_stream"};
const char *enum_outputs(size_t idx)
{
if (idx < sizeof(outputs)/sizeof(const char*))
if (idx >= sizeof(outputs)/sizeof(const char*))
return NULL;
return outputs[idx];

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
#include "obs.h"
struct rtmp_stream {
obs_output_t handler;
};
EXPORT void *rtmp_stream_getname(const char *locale);