Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -B src/Makefile patched/Makefile
- 500c500
- < $(am__append_6) $(am__append_10)
- ---
- > $(am__append_6) $(am__append_10) -lnvstusb
- diff -B src/video_output.cpp patched/video_output.cpp
- 51a52,58
- > extern "C" {
- > #include <libnvstusb/nvstusb.h>
- > }
- > struct nvstusb_context *ctx = 0;
- > int64_t framenumber = 0;
- >
- >
- 593a601,612
- >
- > ctx = nvstusb_init(NULL);
- > if (0 == ctx) {
- > fprintf(stderr, "could not initialize NVIDIA 3D Stereo Controller, aborting\n");
- > exit(EXIT_FAILURE);
- > }else{
- > fprintf(stdout, "NVIDIA 3D Stereo Controller initialized\n");
- > }
- >
- > const float fr = 120.0f;
- > nvstusb_set_rate(ctx, fr );
- > nvstusb_start_stereo_thread(ctx);
- 1318a1337,1339
- >
- >
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement