Motion - Bug Report 2011x 09x 26x 021532
You are here: Foswiki>Motion Web>BugReports>BugReport2011x09x26x021532 (22 Oct 2011, AngelCarpintero)Edit Attach

BUG: motion.c:585:26: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)

I think motion is not ready for V4L2?

gcc -g -O2 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/postgresql -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP    -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\"    -c -o motion.o motion.c
motion.c: In function 'motion_init':
motion.c:585:26: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
motion.c:585:26: note: each undeclared identifier is reported only once for each function it appears in
make: *** [motion.o] Error 1

Environment

Motion version: 3.2.12
ffmpeg version: 0.7.1
Shared libraries: ffmpeg, postgresql
Server OS: Debian sid
-- MagicloudMagiclouds - 26 Sep 2011

Follow up

Fixed in svn trunk.

Cheers,

-- AngelCarpintero - 22 Oct 2011

Fix record

BugReportForm edit

TopicTitle motion.c:585:26: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
BugStatus Monitored
AssignedBugTo AngelCarpintero
SubmittedBy WikiGuest
Topic revision: r2 - 22 Oct 2011, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.