google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

moviedecoder.cpp:308: error: invalid conversion from ‘int’ to ‘PixelFormat’ #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to compile ffmpegthumbnailer

What is the expected output? What do you see instead?
Compilation fails as follows:-

moviedecoder.cpp: In member function ‘void
MovieDecoder::convertAndScaleFrame(int, int, bool, int&, int&)’:
moviedecoder.cpp:308: error: invalid conversion from ‘int’ to 
‘PixelFormat’
moviedecoder.cpp:308: error:   initializing argument 6 of ‘SwsContext*
sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int,
SwsFilter*, SwsFilter*, double*)’

What version of the product are you using? On what operating system?
ffmpegthumbnailer 1.4.0
libavutil     50. 0. 0 / 50. 0. 0
libavcodec    52.21. 0 / 52.21. 0
libavformat   52.31. 1 / 52.31. 1
libavdevice   52. 1. 0 / 52. 1. 0
libavfilter    0. 4. 0 /  0. 4. 0
libswscale     0. 7. 1 /  0. 7. 1
libpostproc   51. 2. 0 / 51. 2. 0
built on Mar  8 2009 19:30:37, gcc: 4.3.1 20080429 (prerelease)

Host is Linux 2.6.25.3 x86

Original issue reported on code.google.com by chaz6....@gmail.com on 10 Mar 2009 at 10:21

GoogleCodeExporter commented 9 years ago
This is fixed in subversion, I should probably release a new version in the 
coming
days including this fix.

Regards,
Dirk

Original comment by dirk.vdb on 10 Mar 2009 at 10:30

GoogleCodeExporter commented 9 years ago
Thanks, I should have checked that first really.

Original comment by chaz6....@gmail.com on 10 Mar 2009 at 10:37

GoogleCodeExporter commented 9 years ago
Release 1.5.0 is available

Original comment by dirk.vdb on 10 Mar 2009 at 3:13