compile without FFMPEG

This commit is contained in:
David Rose 2007-08-13 16:06:07 +00:00
parent 136882b1cd
commit c86c4a7acb
2 changed files with 8 additions and 0 deletions

View File

@ -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
}

View File

@ -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
}