[vlc-commits] v4l2: disable incomplete USERPTR implementation (refs	#8262)
    Rémi Denis-Courmont 
    git at videolan.org
       
    Sun Mar  3 16:50:26 CET 2013
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  3 17:49:34 2013 +0200| [36302e03d68396a79337beb66617fe3115029fcf] | committer: Rémi Denis-Courmont
v4l2: disable incomplete USERPTR implementation (refs #8262)
TODO: someone fix it
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36302e03d68396a79337beb66617fe3115029fcf
---
 modules/access/v4l2/demux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index aa70a25..598c082 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -410,7 +410,7 @@ static int InitVideo (demux_t *demux, int fd, uint32_t caps)
     void *(*entry) (void *);
     if (caps & V4L2_CAP_STREAMING)
     {
-        if (StartUserPtr (VLC_OBJECT(demux), fd) == 0)
+        if (0 /* BROKEN */ && StartUserPtr (VLC_OBJECT(demux), fd) == 0)
         {
             /* In principles, mmap() will pad the length to a multiple of the
              * page size, so there is no need to care. Nevertheless with the
    
    
More information about the vlc-commits
mailing list