spotted another typo (have_dv vs have_libdv) in livevideo plugin

may be it prevented themes from being build..

fix hopefully attached



On Monday, July 26, 2021, Andrew Randrianasulu <[email protected]>
wrote:

>
>
> On Monday, July 26, 2021, Andrea paz <[email protected]> wrote:
>
>> strace -i
>>
>
> this is real strange.
>
> can you check if theme plugins were actually build and installed in
> cin_src_root/bin/plugins?
>
> for me it looks like
>
> Report issues at https://termux.com/issues
>
> $ cd cingg/cinelerra/cinelerra-5.1/
> $ ls -la bin/plugins/
> total 117
> drwx------ 9 u0_a116 u0_a116 3488 Jul 25 11:56 .
> drwx------ 14 u0_a116 u0_a116 3488 Jul 24 23:42 ..
> drwx------ 2 u0_a116 u0_a116 3488 Jul 25 11:56 audio
> drwx------ 2 u0_a116 u0_a116 4096 May 4 12:03 fonts
> drwx------ 6 u0_a116 u0_a116 3488 Jun 29 17:32 picon
> -rwx------ 1 u0_a116 u0_a116 38260 Jul 25 11:56 posterize.plugin
> drwx------ 2 u0_a116 u0_a116 3488 May 4 12:03 scopes
> drwx------ 2 u0_a116 u0_a116 3488 May 4 12:03 shapes
> drwx------ 2 u0_a116 u0_a116 3488 Jul 25 11:56 themes
> -rwx------ 1 u0_a116 u0_a116 38300 Jul 25 11:56 timelapsehelper.plugin
> drwx------ 2 u0_a116 u0_a116 8192 Jul 25 11:56 video
> $ ls -la bin/plugins/themes/
> total 7495
> drwx------ 2 u0_a116 u0_a116 3488 Jul 25 11:56 .
> drwx------ 9 u0_a116 u0_a116 3488 Jul 25 11:56 ..
> -rwx------ 1 u0_a116 u0_a116 646848 Jul 25 11:56 theme_blond.plugin
> -rwx------ 1 u0_a116 u0_a116 1456700 Jul 25 11:56 theme_blond_cv.plugin
> -rwx------ 1 u0_a116 u0_a116 648368 Jul 25 11:56 theme_blue.plugin
> -rwx------ 1 u0_a116 u0_a116 736296 Jul 25 11:56 theme_blue_dot.plugin
> -rwx------ 1 u0_a116 u0_a116 496464 Jul 25 11:56 theme_bright.plugin
> -rwx------ 1 u0_a116 u0_a116 447052 Jul 25 11:56 theme_cakewalk.plugin
> -rwx------ 1 u0_a116 u0_a116 651692 Jul 25 11:56 theme_hulk.plugin
> -rwx------ 1 u0_a116 u0_a116 727340 Jul 25 11:56 theme_neophyte.plugin
> -rwx------ 1 u0_a116 u0_a116 650624 Jul 25 11:56 theme_pinklady.plugin
> -rwx------ 1 u0_a116 u0_a116 555616 Jul 25 11:56 theme_suv.plugin
> -rwx------ 1 u0_a116 u0_a116 630696 Jul 25 11:56 theme_unflat.plugin
> $
>
From 6434cfdeaecf58f13959e1da0d5b37c681187928 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Mon, 26 Jul 2021 20:21:44 +0300
Subject: [PATCH 61/61] fix typos in libdv ifdefs in livevideo

---
 cinelerra-5.1/plugins/livevideo/livevideo.C | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/cinelerra-5.1/plugins/livevideo/livevideo.C b/cinelerra-5.1/plugins/livevideo/livevideo.C
index c30034ab64001fc8c81e1a043aff88e00ad4730e..f9304a9d1584ec6bd05efeab9f564e5b98f821e9 100644
--- a/cinelerra-5.1/plugins/livevideo/livevideo.C
+++ b/cinelerra-5.1/plugins/livevideo/livevideo.C
@@ -152,7 +152,7 @@ public:
 	int prev_channel;
 	int w, h;
 // Decompressors for different video drivers
-#if HAVE_DV
+#if HAVE_LIBDV
 	dv_t *dv;
 #endif
 	mjpeg_t *mjpeg;
@@ -354,7 +354,7 @@ LiveVideo::LiveVideo(PluginServer *server)
 	w = xS(320);
 	h = yS(640);
 	prev_channel = 0;
-#if HAVE_DV
+#if HAVE_LIBDV
 	dv = 0;
 #endif
 	mjpeg = 0;
@@ -376,7 +376,7 @@ LiveVideo::~LiveVideo()
 
 	delete channeldb;
 	delete temp;
-#if HAVE_DV
+#if HAVE_LIBDV
 	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)
 				{
-#if HAVE_DV
+#if HAVE_LIBDV
 					case CAPTURE_FIREWIRE:
 					case CAPTURE_IEC61883:
 // Decompress a DV frame from the driver
@@ -648,8 +648,3 @@ void LiveVideo::update_gui()
 		}
 	}
 }
-
-
-
-
-
-- 
2.32.0

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to