maozetzion / boblight

Automatically exported from code.google.com/p/boblight
0 stars 0 forks source link

boblight-v4l won't build with current libavformat because AVFormatParameters was removed #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. have ffmpeg version 1:0.11.1-1 installed
2. try compiling boblight

What is the expected output? What do you see instead?
i expect it to compile, instead i get:

make[2]: Entering directory 
`/home/fraxinas.sik/projects/rgbled/boblight-read-only/src'
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT boblight-v4l.o -MD -MP -MF 
.deps/boblight-v4l.Tpo -c -o boblight-v4l.o `test -f 
'clients/boblight-v4l/boblight-v4l.cpp' || echo 
'./'`clients/boblight-v4l/boblight-v4l.cpp
In file included from clients/boblight-v4l/boblight-v4l.cpp:28:0:
clients/boblight-v4l/videograbber.h:62:5: error: 'AVFormatParameters' does not 
name a type
clients/boblight-v4l/boblight-v4l.cpp: In function 'int main(int, char**)':
clients/boblight-v4l/boblight-v4l.cpp:79:14: error: 'fork' was not declared in 
this scope
clients/boblight-v4l/boblight-v4l.cpp: In function 'int Run()':
clients/boblight-v4l/boblight-v4l.cpp:105:15: error: 'sleep' was not declared 
in this scope
make[2]: *** [boblight-v4l.o] Error 1

What version of the product are you using? On what operating system?
compiled from svn rev 442
archlinux

Please provide any additional information below.
it seems ffmpeg deprecated AVFormatParameters a while ago and finally got rid 
off it: 
http://git.videolan.org/?p=ffmpeg.git&a=search&st=commit&s=AVFormatParameters

Original issue reported on code.google.com by purplege...@gmx.net on 18 Jul 2012 at 9:36

GoogleCodeExporter commented 9 years ago
Right, I'll fix this.

Original comment by bob.loo...@gmail.com on 8 Aug 2012 at 2:01

GoogleCodeExporter commented 9 years ago
Nobody seemed to have made the leap to fix this so I took the liberty of fixing 
up everything to use the new lib.

See attached.

Original comment by Meth...@gmail.com on 12 Apr 2014 at 6:53

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks! That worked worked for me!

Original comment by crashove...@gmail.com on 6 Jul 2014 at 2:44