Show
Ignore:
Timestamp:
03/23/09 17:45:10 (4 years ago)
Author:
robert
Message:

From Wang Rui, "Attached is a very small fix for the ffmpeg plugin, to build it without compiling errors on MSVC. The ffmpeg win32 pre-built tarball is downloaded at http://ffmpeg.arrozcru.org/builds/. Tested on Windows XP SP3 and Visual Studio 9, but don't know if it still workable for Unix and Mac users. :)


Please look at the .diff files for details. I have already enjoyed the latest Chinese *big* movie "Red Cliff" with the fixed ffmpeg plugin and osgmovie. :D"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp

    r9910 r9960  
    8888    void publishFrame(double delay); 
    8989    double synchronizeVideo(double pts); 
    90     void yuva420pToRgba(AVPicture *dst, const AVPicture *src, int width, int height); 
     90    void yuva420pToRgba(AVPicture *dst, AVPicture *src, int width, int height); 
    9191 
    92     int convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, 
     92    int convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src, 
    9393                int src_pix_fmt, int src_width, int src_height); 
    9494