Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Install the tool
```bash
cargo install cargo-obs-build
```

sadfasd
> [!NOTE]
> There is now a new bootstrapper that can download and install OBS binaries at runtime, which is useful for distributing applications without requiring users to install OBS separately. See the [OBS Bootstrapper](./libobs-wrapper/README.md#obs-bootstrapper) section for more details.

Expand Down Expand Up @@ -47,4 +47,5 @@ cargo obs-build target/(debug|release)/deps
Below is an example that will record video-only footage of an exclusive fullscreen application. Note that the API is extremely limited right now, but you can already record both video and audio with full control over the output already. If you need more, libobs is exposed.

Examples are located in the [examples](./examples) directory.
Documentation is also available for [libobs-sources](./libobs-sources/README.md) or [libobs-wrapper](./libobs-wrapper/README.md).
Documentation is also available for [libobs-sources](./libobs-sources/README.md) or [libobs-wrapper](./libobs-wrapper/README.md).

13 changes: 0 additions & 13 deletions libobs-encoders/libobs-encoders/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
5 changes: 5 additions & 0 deletions libobs/headers/obs/util/util_uint64.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@
#include <intrin.h>
#endif


static inline uint64_t util_mul_div64(uint64_t num, uint64_t mul, uint64_t div)
{

#if defined(_MSC_VER) && defined(_M_X64) && (_MSC_VER >= 1920) && 0



unsigned __int64 high;
const unsigned __int64 low = _umul128(num, mul, &high);
unsigned __int64 rem;
Expand Down
Loading