Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d33a2ee

Browse files
author
jamesh
committed
Issue raspberrypi#11 (jamesh65/userland) colfx options not working correctly
Fixed a bug - was setting the U value twice, and not setting V. Bumped version numbers to suit.
1 parent d2c9f91 commit d33a2ee

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

host_applications/linux/apps/raspicam/RaspiCamControl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ int raspicamcontrol_parse_cmdline(RASPICAM_CAMERA_PARAMETERS *params, const char
521521
break;
522522

523523
case CommandColourFX : // Colour FX - needs string "u:v"
524-
sscanf(arg2, "%d:%d", &params->colourEffects.u, &params->colourEffects.u);
524+
sscanf(arg2, "%d:%d", &params->colourEffects.u, &params->colourEffects.v);
525525
params->colourEffects.enable = 1;
526526
used = 2;
527527
break;

host_applications/linux/apps/raspicam/RaspiStill.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5757
#include <errno.h>
5858
#include <sysexits.h>
5959

60-
#define VERSION_STRING "v1.3.5"
60+
#define VERSION_STRING "v1.3.6"
6161

6262
#include "bcm_host.h"
6363
#include "interface/vcos/vcos.h"

host_applications/linux/apps/raspicam/RaspiVid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5656
#include <memory.h>
5757
#include <sysexits.h>
5858

59-
#define VERSION_STRING "v1.3.7"
59+
#define VERSION_STRING "v1.3.8"
6060

6161
#include "bcm_host.h"
6262
#include "interface/vcos/vcos.h"

0 commit comments

Comments
 (0)