Assertion Error when using PlayPaused or SetTime while Paused

This forum is about all development around libVLC.
IngoKreuz
New Cone
New Cone
Posts: 2
Joined: 16 Feb 2021 19:57

Assertion Error when using PlayPaused or SetTime while Paused

Postby IngoKreuz » 16 Feb 2021 20:21

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

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: Assertion Error when using PlayPaused or SetTime while Paused

Postby mfkl » 17 Feb 2021 03:15

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.
https://mfkl.github.io

IngoKreuz
New Cone
New Cone
Posts: 2
Joined: 16 Feb 2021 19:57

Re: Assertion Error when using PlayPaused or SetTime while Paused

Postby IngoKreuz » 20 Feb 2021 19:50

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 ;-)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests