still more Andrew Termux/Android mods
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / livevideo / livevideo.C
index d928b7e8ac2868e32e70b4b0f5bdb84cf6ae95fc..888164a1a4ae52e6e519c4022a6f064bd65236bd 100644 (file)
@@ -31,7 +31,7 @@
 #include "filexml.h"
 #include "guicast.h"
 #include "language.h"
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
 #include "libdv.h"
 #endif
 #include "libmjpeg.h"
@@ -152,7 +152,7 @@ public:
        int prev_channel;
        int w, h;
 // Decompressors for different video drivers
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
        dv_t *dv;
 #endif
        mjpeg_t *mjpeg;
@@ -354,7 +354,7 @@ LiveVideo::LiveVideo(PluginServer *server)
        w = xS(320);
        h = yS(640);
        prev_channel = 0;
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
        dv = 0;
 #endif
        mjpeg = 0;
@@ -376,7 +376,7 @@ LiveVideo::~LiveVideo()
 
        delete channeldb;
        delete temp;
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
        if(dv) dv_delete(dv);
 #endif
        if(mjpeg) mjpeg_delete(mjpeg);
@@ -507,7 +507,7 @@ int LiveVideo::process_buffer(VFrame *frame,
                        {
                                switch(session->vconfig_in->driver)
                                {
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
                                        case CAPTURE_FIREWIRE:
                                        case CAPTURE_IEC61883:
 // Decompress a DV frame from the driver