Page 1 of 1

Assertion Error when using PlayPaused or SetTime while Paused

Posted: 16 Feb 2021 20:21
by IngoKreuz
Hello
I am using VLCJ (see https://github.com/caprica/vlcj) to access libVLC from my Java project ("kissPhoto")

Whenever I use

Code: Select all

PlayPaused()
or

Code: Select all

SetTime()
while media is paused

libVLC 4.0.0 (nightly from January and from today, 16.Feb tried) results in a MessageBox
Visual C++ Runtime Library
Assertion failed!
Program: C:\Program Files\kissPhoto\kissPhoto.exe
File: /builds/videolan/vlc/extras/packag.../video_output.c
Line: 1478
Expression: !sys->pause.is_on||!is_paused
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
By closing the MessageBox also the virtual Java Machine is ended.

The error can be reproduced with mp4, mp3 and wav files.

I asked Mark Lee, the author of VLCJ, about this issue. He replied that his library just forwards my call to libVLC.
Is this a known bug in libVLC 4.0.0?
Where is the right place to report this bug (if it is one ;-)

Regards Ingo

Re: Assertion Error when using PlayPaused or SetTime while Paused

Posted: 17 Feb 2021 03:15
by mfkl
Hi,

The proper place for reporting libvlc bugs would be https://trac.videolan.org/vlc/

Keep in mind that LibVLC 4.0 is currently in development so these kind of bugs are expected on a regular basis. You should switch to vlcj4/libvlc3 if you want stability.

Re: Assertion Error when using PlayPaused or SetTime while Paused

Posted: 20 Feb 2021 19:50
by IngoKreuz
Thanks. I will post it there.
Of course this is only VLC4 is currently only beta. I just want to be sure that this becomes a "known" bug ;-)