Add option to reset controls to their default value at runtime. Add "controls-update" variable which is triggered if any of the controls value is changed. Add some comments and change some function names.
Add v4l2 section in extended pannel. The code isn't v4l2 specific at all so it could be adapted for other modules (as long as those define the "controls" variables with a list of controls that can be changed at runtime).
Rework the v4l2 control handling. Variables corresponding to controls don't have any v4l2 suffix anymore. Variables for custom controls are also created. See "vars v4l2" in the rc interface. The "controls" variables is a list of all controls available. Next step is to use all these changes in the Qt interface to create a v4l2 control pannel.
Add VLC_VAR_GET{MIN,MAX,STEP} commands. Make it possible to use VLC_VAR_INHERITVALUE with a 2nd argument which will be used as the variable name to inherit (for example you want to inherit a variable named "v4l2-hue" into a variable named "hue": vlc_value_t val; val.psz_string = strdup( "v4l2-hue" ); var_Change( p_demux, "hue", VLC_VAR_INHERITVALUE, NULL, &val ); free( val.psz_string ); )
Add MJPEG support to the v4l2 access (and simplify the buffer size handling code). I now need people with v4l2 compatible devices with JPEG, DV and MPEG support to try to enable those features.
Jean-Paul Saman [Thu, 6 Dec 2007 15:33:45 +0000 (15:33 +0000)]
Don't call input_ChangeState() constantly while being in error state, because it triggers callbacks at each call. This can result in a busy rc interface.
Qt4 - MediaInformation, simplification of the states machine, removal of over-complicated methods. Cleaning and other small fixes.
Please report regressions on that part.
* limit x264 to rev 701 for now and apply our patch taken from branch (r23341 and r23322). additionally, checkout stuff from svn instead of exporting. This makes it easier to track useful revisions for releases
Qt4 - When adding a file to the playlist by clicking on "Read" in the OpenFile dialog, the first time it's ok but the next click you add 2 times and then more times the same file.
Patch from Rémi Duraffort.
Rafaël Carré [Tue, 4 Dec 2007 15:49:28 +0000 (15:49 +0000)]
vout_Snapshot(): hability to specify width & height when the snapshot isn't taken by an object.
Value of 0 for width OR height means that we want to keep the original aspect ratio.
Qt4 - MainInterface cleaning, FIXME labelling, Simplification, put the delay of status Toolip to 3s, re-ask the privacy dialog if closed the previous time without a correct validation before.
Commit from NYC/NY/Columbia University ;)
Fix menu control value display code.
Display current control value in VideoControlList.
Add option to reset all video controls to their default value on startup.
Add "videocontrol" command variable to issue controls other than those which we explicitly support. For example, "@v4l2 videocontrol 8000002 30" changes the sharpness to something horrible on my webcam.
Don't fail launching the video device if a video control failed. Update the hue/saturation/brightness/contrast values in the callback before issue the video control. (I haven't been able to test yet due to lack of hardware)
Factorise the Video Control code. List all available controls in debug messages. Add a callback to update those we already support on the flag (doesn't work properly yet, it might need a restart or something and people on #v4l aren't really helpfull).
Don't compile any of the alsa audio input code if HAVE_ALSA isn't defined. This mainly removes the --v4l2-alsa option if alsa devlopement headers aren't available.