bas-t / ffdecsawrapper

FFdecsa empowered softcam for MythTV
GNU General Public License v3.0
17 stars 9 forks source link

Patch to make VLC happy #50

Closed enigma131 closed 6 years ago

enigma131 commented 6 years ago

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 ?

bas-t commented 6 years ago

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.