How to set conditional default for an input clip ? >> FORUM
Forum about travel in Ukraine

Forum about travel in Ukraine



SearchSearch   Users   Registration   Entrance
Today: 12.11.2025 - 02:45:05
Pages:  1  

How to set conditional default for an input clip ?

AuthorMessage

MCoupeMike

user




Statistics:
Messages: 424
Registration: 12.17.2002

Quick question. Say I am writing a function with two-clip input - clp1 and clp2. If clp2 is not defined by the user, I want the function to default to clp1. Tried clp2 = default(clp2, clp1), but that gets rejected. What is the correct way to set this?

---------------------
MCoupeMike - AIM: MCoupeMike2K - 368S/8 '00 Blown M Coupe '00 323Ci '98 Z3 2.8
Message # 1 30.12.21 - 23:41:13
RE: How to set conditional default for an input clip ?

sildergu

user




Statistics:
Messages: 160
Registration: 10.30.2002

I guess I was considering the equivalent of: Code:

---------------------
Message # 2 30.12.21 - 23:45:23
RE: How to set conditional default for an input clip ?

M3-4-Life310

user




Statistics:
Messages: 285
Registration: 09.17.2003

Strange, once again, Stephen R Savage's reply to my query, which was very helpful, was there one minute and gone the next. Kind of looks like I already knew the answer to the question I asked. I know people have commented on this before, but if someone deletes a post, it would be helpful to at least leave some indication that there was a post there, even if the reason for deleting is not given and/or the user's name is not stated. There are lots of things I have posted that I cringe to look at now, but my feeling is 'what I have written I have written'; if people post they should commit to it. Correct stuff sure, as an edit, but don't make other people look foolish. And in this case, I cant imagine why the user deleted his post, as it was very helpful.

---------------------
Message # 3 30.12.21 - 23:53:39
RE: How to set conditional default for an input clip ?

joeytomato

user




Statistics:
Messages: 173
Registration: 08.23.2001

@Stephen R. Savage, Your PM is turned off. Is there a reason why you delete half of your posts? (I restored your post in this thread for readability reasons.)

---------------------
#17 M42 CLUB
Message # 4 30.12.21 - 23:57:57
RE: How to set conditional default for an input clip ?

highboostingm3

user




Statistics:
Messages: 24,275
Registration: 08.26.2003

Thanks Wilbert.

---------------------
Where have I been? Astral projecting.
Message # 5 31.12.21 - 00:04:35
RE: How to set conditional default for an input clip ?
Denoising before or after resizing : Previous topic
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

Made possible by: IPS, Inc. 6.1