VLC was not working with ffdecsawrapper/dvbloopback/ virtual adapter on my machine.
I was a little frustrated because VLC is a great video debuging tool and was working very well on real adapter.
I'll using debug options of both dvbloopback and ffdecsawrapper and after adding a new debug point in ffdecsawrapper i'll fond the bug.
Bug happens with both ubuntu 16 lts (32 and 64 bits and perhaps others ?) and is located in file plugin_ringbuf.c , function read_call
rb->flags is not set correctly for VLC, for Kaffeine it is.. , rb_get_bytes can't be done....
So i have done a patch in function open_call line 244:
rb->flags = fdptr->flags; to: rb->flags = fdptr->flags | O_NONBLOCK ;
Hi,
I don't maintain this repo anymore, it has reached EOL long ago.
Of course, you can fork it and then apply your patch in your fork.
Regards,
Tycho.
VLC was not working with ffdecsawrapper/dvbloopback/ virtual adapter on my machine. I was a little frustrated because VLC is a great video debuging tool and was working very well on real adapter. I'll using debug options of both dvbloopback and ffdecsawrapper and after adding a new debug point in ffdecsawrapper i'll fond the bug. Bug happens with both ubuntu 16 lts (32 and 64 bits and perhaps others ?) and is located in file plugin_ringbuf.c , function read_call rb->flags is not set correctly for VLC, for Kaffeine it is.. , rb_get_bytes can't be done....
So i have done a patch in function open_call line 244: rb->flags = fdptr->flags; to: rb->flags = fdptr->flags | O_NONBLOCK ;
now all is working fine with VLC ;)
Can you release the patch please ?