oops - now add termux/android DV patch
authorGood Guy <[email protected]>
Fri, 22 Oct 2021 17:42:34 +0000 (11:42 -0600)
committerGood Guy <[email protected]>
Fri, 22 Oct 2021 17:42:34 +0000 (11:42 -0600)
cinelerra-5.1/cinelerra/ffmpeg.C
cinelerra-5.1/cinelerra/record.C

index b05a455d53add2d63de49a314239187ae9438dac..44bbe2fa0e423464058ecebefd75700046e8410b 100644 (file)
@@ -29,7 +29,9 @@
 #include "ffmpeg.h"
 #include "indexfile.h"
 #include "interlacemodes.h"
+#ifdef HAVE_DV
 #include "libdv.h"
+#endif
 #include "libmjpeg.h"
 #include "mainerror.h"
 #include "mwindow.h"
index ad293f7b97215a183d1f860a70c5d2fce585a786..f42fe9e128497c419cba6a55b53229c59bd80aff 100644 (file)
@@ -46,7 +46,9 @@
 #include "keys.h"
 #include "language.h"
 #include "localsession.h"
+#ifdef HAVE_DV
 #include "libdv.h"
+#endif
 #include "libmjpeg.h"
 #include "libzmpeg3.h"
 #include "mainmenu.h"
@@ -215,10 +217,12 @@ int Record::load_defaults()
        case VIDEO4LINUX2JPEG:
                vcodec = CODEC_TAG_MJPEG;
                break;
+#ifdef HAVE_DV
        case CAPTURE_FIREWIRE:
        case CAPTURE_IEC61883:
                vcodec = CODEC_TAG_DVSD;
                break;
+#endif
        }
        if( vcodec )
                strcpy(default_asset->vcodec, vcodec);