Page 1 of 1

Fake decoder --fake-file-reload missing callback function

Posted: 19 Oct 2008 02:03
by Erwan100
Hi,

Not sure where and how to report a bug, I hope this forum is ok.

In the file modules/codec/fake.c, a callback function has been forgotten.
The function FakeCallback was written to manage changes at run time for both the fake-file and fake-file-reload variables. But only fake-file was fully implemented with a addCallback.

the following line should be inserted (most likely at line 172 of modules/codec/fake.c) :

var_AddCallback( p_dec, "fake-file-reload", FakeCallback, p_dec );

This can be seen in both VLC 0.9.4 and the GIT version of VLC accessible via trac (as of today)

Erwan100

Re: Fake decoder --fake-file-reload missing callback function

Posted: 19 Oct 2008 17:08
by Jean-Baptiste Kempf
Could you send that to vlc-devel mailing list, please?