mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -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 "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();
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user