GithubHelp home page GithubHelp logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
--- 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
[deleted comment]

from v4l2loopback.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
merged this

Original comment by [email protected] on 17 Jun 2010 at 9:58

from v4l2loopback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.