Video Adjust functions behaviour changed?

This forum is about all development around libVLC.
sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Video Adjust functions behaviour changed?

Postby sherington » 30 Jun 2014 23:31

Hello,

Something changed (I don't know when it changed but I tested latest git as of time of writing) that affected how the video adjustment (Hue, Saturation, Brightness, Contrast, Gamma) functions in LibVLC work.

It used to be the case that if you enabled video adjustment via libvlc_video_set_adjust_int with libvlc_adjust_Enable, you could then e.g. have a bunch of sliders for the various adjustment properties and any changes would be applied and visible on the video immediately.

Now, it seems you have to explicitly disable the video adjustment filter then reenable it each time you change a value.

So this works, but it's a bit awkward - is this change in behaviour intended?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video Adjust functions behaviour changed?

Postby Jean-Baptiste Kempf » 09 Jul 2014 03:27

It's not intended. Please file a bug and bisect by trying various versions.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: Video Adjust functions behaviour changed?

Postby sherington » 09 Jul 2014 15:09

It seems this was indeed intentional, at least according to the commit log in the referenced ticket:

https://trac.videolan.org/vlc/ticket/11750

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Video Adjust functions behaviour changed?

Postby Jean-Baptiste Kempf » 10 Dec 2014 16:06

Yes, this was fixed in 2.2.0 and 3.0.0
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: Video Adjust functions behaviour changed?

Postby sherington » 20 Jan 2015 15:40

Yes, this was fixed in 2.2.0 and 3.0.0
It is fixed in 2.2.0, I tested at f966a0f.

It does not work in 3.0.0, I tested at 87ed7b3, but it's very early days for 3.0.0 of course.


Return to “Development around libVLC”

Who is online

Users browsing this forum: alexsher and 12 guests