all right, almost all parts of ffmpeg should be hooked in

This commit is contained in:
Zachary Pavlov 2006-05-14 22:35:54 +00:00
parent 366f48314e
commit cb65e0c44e
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,7 @@
#include "config_grutil.h" #include "config_grutil.h"
#include "frameRateMeter.h" #include "frameRateMeter.h"
#include "openCVTexture.h" #include "openCVTexture.h"
#include "ffmpegTexture.h"
#include "pandaSystem.h" #include "pandaSystem.h"
#include "texturePool.h" #include "texturePool.h"
@ -64,7 +65,6 @@ init_libgrutil() {
initialized = true; initialized = true;
FrameRateMeter::init_type(); FrameRateMeter::init_type();
#ifdef HAVE_OPENCV #ifdef HAVE_OPENCV
{ {
@ -80,6 +80,9 @@ init_libgrutil() {
#ifdef HAVE_FFMPEG #ifdef HAVE_FFMPEG
{ {
//configure all known codecs. Can take a few frames.
av_register_all();
FFMpegTexture::init_type(); FFMpegTexture::init_type();
FFMpegTexture::register_with_read_factory(); FFMpegTexture::register_with_read_factory();

View File

@ -4,4 +4,5 @@
#include "fisheyeMaker.cxx" #include "fisheyeMaker.cxx"
#include "frameRateMeter.cxx" #include "frameRateMeter.cxx"
#include "openCVTexture.cxx" #include "openCVTexture.cxx"
#include "ffmpegTexture.cxx"