Comments (8)
Got another part fixed:
v4l_compat_ioctl32 changed to v4l2_compat_ioctl32, so:
v4l2loopback.c line 662 changed:
.compat_ioctl = v4l_compat_ioctl32,
to:
.compat_ioctl = v4l2_compat_ioctl32,
Ryan
Original comment by [email protected]
on 19 May 2010 at 4:55
from v4l2loopback.
--- v4l2loopback.c.old 2010-05-19 12:09:26.913372952 +0200
+++ v4l2loopback.c 2010-05-19 12:10:56.473359815 +0200
@@ -14,6 +14,7 @@
#include <linux/vmalloc.h>
#include <linux/mm.h>
#include <linux/time.h>
+#include <linux/sched.h>
#include <linux/module.h>
#include <linux/videodev2.h>
#include <media/v4l2-ioctl.h>
@@ -601,7 +602,8 @@ static ssize_t v4l_loopback_write(struct
init_buffers(dev->buffer_size);
dev->ready_for_capture = 1;
}
- dprintkrw("v4l2_loopback_write() trying to write %d bytes\n", count);
+ dprintkrw("v4l2_loopback_write() trying to write %d bytes\n",
+ (int)count);
if (count > dev->buffer_size)
count = dev->buffer_size;
if (copy_from_user(
@@ -609,7 +611,7 @@ static ssize_t v4l_loopback_write(struct
(void *) buf, count)) {
printk(KERN_ERR "v4l2-loopback: "
"failed copy_from_user() in write buf, could not write %d\n",
- count);
+ (int)count);
return -EFAULT;
}
do_gettimeofday(&dev->buffers[write_index].timestamp);
With the following patch it compiles and loads fine on x86_64 2.6.32-gentoo-r7
Original comment by [email protected]
on 19 May 2010 at 10:16
from v4l2loopback.
[deleted comment]
from v4l2loopback.
Thanks for your work.
I have just moved history to mercurial, now you can just clone project and
commit your
changes, then I will be able to merge them from your clone.
Original comment by [email protected]
on 19 May 2010 at 3:04
from v4l2loopback.
@Comment 4
Meh, mercurial... Don't worry in preserving authorship, the patch is too simple
to be
worth the efforts.
Regards,
Original comment by [email protected]
on 19 May 2010 at 3:13
from v4l2loopback.
This is not about an authorship, this is about management, I am not spending
time on
this project now and mercurial will make updates to the project easy for those
who
need it.
Original comment by [email protected]
on 19 May 2010 at 3:22
from v4l2loopback.
I've added sched.h, setup hg, and pushed the change to my clone
smaines-v4l2loopback
Original comment by [email protected]
on 17 Jun 2010 at 8:38
from v4l2loopback.
merged this
Original comment by [email protected]
on 17 Jun 2010 at 9:58
from v4l2loopback.
Related Issues (20)
- allow multiple programs to read from device HOT 1
- showing old frames periodically HOT 2
- Unable to build on Ubuntu HOT 12
- Framedropping on start
- usage question HOT 3
- v4l2loopback device not showing in skype as normal user HOT 3
- build error with kernel 2.6.29 HOT 3
- ERROR:gst-v4lsink-loopback.c:103:v4l2_sink_loopback_constructor: assertion failed HOT 1
- video is distorted when captured in flash player HOT 1
- cannot build deb from checkout on ubuntu karmic HOT 2
- where is the source code? HOT 3
- support for multiple vloopback devices
- PATCH - fix missing header, and compile warnings on 2.6.36
- Assertion error in gst_v4l2sink_sync_overlay_fields HOT 1
- announcement: fork of v4l2loopback HOT 1
- Problem when execute gst-launch
- How to enable sound and widescreen resolution
- can't compile on Fedora 18 kernel 3.6.6
- can't modprobe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v4l2loopback.