compile without FFMPEG
This commit is contained in:
parent
136882b1cd
commit
c86c4a7acb
|
|
@ -112,7 +112,11 @@ make_copy() const {
|
|||
////////////////////////////////////////////////////////////////////
|
||||
PT(MovieAudio) MovieAudio::
|
||||
load(const Filename &name) {
|
||||
#ifdef HAVE_FFMPEG
|
||||
// Someday, I'll probably put a dispatcher here.
|
||||
// But for now, just hardwire it to go to FFMPEG.
|
||||
return new FfmpegAudio(name);
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -294,8 +294,12 @@ make_copy() const {
|
|||
////////////////////////////////////////////////////////////////////
|
||||
PT(MovieVideo) MovieVideo::
|
||||
load(const Filename &name) {
|
||||
#ifdef HAVE_FFMPEG
|
||||
// Someday, I'll probably put a dispatcher here.
|
||||
// But for now, just hardwire it to go to FFMPEG.
|
||||
return new FfmpegVideo(name);
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue