mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
all right, almost all parts of ffmpeg should be hooked in
This commit is contained in:
parent
366f48314e
commit
cb65e0c44e
@ -19,6 +19,7 @@
|
||||
#include "config_grutil.h"
|
||||
#include "frameRateMeter.h"
|
||||
#include "openCVTexture.h"
|
||||
#include "ffmpegTexture.h"
|
||||
#include "pandaSystem.h"
|
||||
#include "texturePool.h"
|
||||
|
||||
@ -64,7 +65,6 @@ init_libgrutil() {
|
||||
initialized = true;
|
||||
|
||||
FrameRateMeter::init_type();
|
||||
|
||||
#ifdef HAVE_OPENCV
|
||||
|
||||
{
|
||||
@ -80,6 +80,9 @@ init_libgrutil() {
|
||||
|
||||
#ifdef HAVE_FFMPEG
|
||||
{
|
||||
//configure all known codecs. Can take a few frames.
|
||||
av_register_all();
|
||||
|
||||
FFMpegTexture::init_type();
|
||||
FFMpegTexture::register_with_read_factory();
|
||||
|
||||
|
@ -4,4 +4,5 @@
|
||||
#include "fisheyeMaker.cxx"
|
||||
#include "frameRateMeter.cxx"
|
||||
#include "openCVTexture.cxx"
|
||||
#include "ffmpegTexture.cxx"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user