Video Texture: remove support for capture device, the linux ffmpeg repository is not ready yet.
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
#ifdef WITH_FFMPEG
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#include <ffmpeg/avformat.h>
|
||||
#include <ffmpeg/avdevice.h>
|
||||
//#include <ffmpeg/avdevice.h>
|
||||
|
||||
#if LIBAVFORMAT_VERSION_INT < (49 << 16)
|
||||
#define FFMPEG_OLD_FRAME_RATE 1
|
||||
@@ -237,7 +237,7 @@ void do_init_ffmpeg()
|
||||
if (!ffmpeg_init) {
|
||||
ffmpeg_init = 1;
|
||||
av_register_all();
|
||||
avdevice_register_all();
|
||||
//avdevice_register_all();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user