Explorar o código

libobs: Clarify comment on obs_source_set_flags

The comment says "these are different", but doesn't state why.
Actually, I should really rename the output flags so they're not flags,
but instead just "caps", because that's really all that they are.
jp9000 %!s(int64=10) %!d(string=hai) anos
pai
achega
e4fdd61c74
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      libobs/obs.h

+ 5 - 2
libobs/obs.h

@@ -761,8 +761,11 @@ EXPORT void obs_source_load(obs_source_t *source);
 /** Specifies to force audio to mono */
 /** Specifies to force audio to mono */
 #define OBS_SOURCE_FLAG_FORCE_MONO             (1<<1)
 #define OBS_SOURCE_FLAG_FORCE_MONO             (1<<1)
 
 
-/** Sets source flags.  Note that these are different from the main output
- * flags. */
+/**
+ * Sets source flags.  Note that these are different from the main output
+ * flags.  These are generally things that can be set by the source or user,
+ * while the output flags are more used to determine capabilities of a source.
+ */
 EXPORT void obs_source_set_flags(obs_source_t *source, uint32_t flags);
 EXPORT void obs_source_set_flags(obs_source_t *source, uint32_t flags);
 
 
 /** Gets source flags. */
 /** Gets source flags. */