Re: [FFmpeg-devel] Global variables in FFmpeg command expressions?

2023-05-17 Thread Joan Lluch
that, I am unsure about how difficult fixing this issue on FFmpeg would be or what it would take Regards, John Lluch > On 15 May 2023, at 22:15, Paul B Mahol wrote: > > On Mon, May 15, 2023 at 8:45 PM Joan Lluch wrote: > >> Hi all, >> >> I recently

[FFmpeg-devel] Global variables in FFmpeg command expressions?

2023-05-15 Thread Joan Lluch
Hi all, I recently made a feature request to one of the community members. I was ready to pay a reasonable amount for it, but as it was a relatively quick fix, he was kind enough to implement it on his own, and I made a donation to the community instead. The feature I refer to is the “keep”

Re: How to know when a UISwitch is being touched

2009-04-01 Thread Joan Lluch-Zorrilla
if the switch is being touched, or 0 otherwise. Hope that helps. Joan Lluch-Zorrilla El 01/04/2009, a las 16:03, Brian Slick escribió: We may be able to combine forces here. What I was doing gets the correct answer from the switch, but what I was finding is that certain circumstances

How to know when a UISwitch is being touched

2009-03-31 Thread Joan Lluch-Zorrilla
was added as a target to touch events upon creation of the switch like this [switchv addTarget:self action:@selector(switchTouched:) forControlEvents:UIControlEventAllTouchEvents] ; Whatever the user does on the switch the result is always Zero. What am I missing? Joan Lluch-Zorrilla

Re: NSTimer Runloop questions

2009-03-20 Thread Joan Lluch-Zorrilla
to the distant future in the operationComplete method, we should also set a flag in the userInfo dictionary so we will know its state in the doTimeout method, in case the timer was already scheduled to fire and it does. That's the easier approach. Joan Lluch-Zorrilla

Re: Right place to unobserve notifications in a document

2008-08-20 Thread Joan Lluch (casa)
sending messages to the observer as long as it remains registered to receive them?, Please clarify. Joan Lluch ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Right place to unobserve notifications in a document

2008-08-20 Thread Joan Lluch (casa)
Joan Lluch El 20/08/2008, a las 16:05, Negm-Awad Amin escribió: Am Mi,20.08.2008 um 15:37 schrieb Joan Lluch (casa): I've been reading this thread and I don't understand it in the case of GC. Why don't you still have to remove the observer from the notification center when you

Where's the best place for addObserver and removeObserver

2008-07-17 Thread Joan Lluch (casa)
to this.? Basically what i am asking is, where is the recommended place to add and to remove observers set up in views (or view controllers)? Thanks for any comment. Joan Lluch ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Where's the best place for addObserver and removeObserver

2008-07-17 Thread Joan Lluch (casa)
El 17/07/2008, a las 18:13, Jonathan Dann escribió: Hi Joan, As Keary says, removing in -dealloc is probably not the best thing to do as there are a few cases that this can bite you, like if your window controller retains the view controllers, and -dealloc is called on the window

Re: Is there any way to show disclosure button always closed in NSOutlineView

2008-07-14 Thread Joan Lluch (casa)
El 14/07/2008, a las 7:49, Aman Alam escribió: I am working on a project that needs the disclosure button of NSOutlineView always closed whether its row are expanded or not. Does anyone know that how to do that? Does not that violate the Apple Human Interface Guidelines?. I mean,

Re: NSTableView prematurely posts selection changed notification

2008-07-10 Thread Joan Lluch (casa)
El 10/07/2008, a las 5:21, Graham Cox escribió: When my app starts up, it opens a floating window containing a table view. As the table is brought to life from the Nib, it posts a selection changed notification to its delegate. At that time it hasn't had its data initialised from the

Re: Why can't I name a property `tag'?

2008-07-10 Thread Joan Lluch (casa)
Joan Lluch El 10/07/2008, a las 18:29, Graham Cox escribió: Well, that's the weird thing. I wasn't getting that warning. I was including both headers, my own usage explicitly using #import, and all of Cocoa implictly using the precompiled headers. I wonder if that's how the compiler

NSOutlineView hiding a column while editing a row in another column

2008-07-10 Thread Joan Lluch (casa)
will be appreciated Joan Lluch ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription

Re: Debugging strategy - exceptions

2008-07-09 Thread Joan Lluch (casa)
El 09/07/2008, a las 12:13, Ruotger Skupin escribió: So an exception got thrown for a pretty obvious reason, but where? Could be anywhere, even in WebKit (which we use). Is there any chance to get near the culprit without a stack trace (which I don't have)? This question is more

Re: garbage collection and NSConnection

2008-07-07 Thread Joan Lluch (casa)
complex things or to know the more appropriate word to express a concept, this is why I tend to paraphrase on my writing, and I understand that it can be difficult to read). Joan Lluch ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: archive only what changed?

2008-07-07 Thread Joan Lluch (casa)
. If storing your model is really a performance issue, then you might consider going to Core Data and SQLite stores. Joan Lluch El 07/07/2008, a las 16:13, Randy Canegaly escribió: I have an application whose data model is an NSMutableArray with elements that could be pointers other NSMutableArrays

Re: garbage collection and NSConnection

2008-07-06 Thread Joan Lluch (casa)
El 06/07/2008, a las 2:05, mmalc crawford escribió: On Jul 5, 2008, at 3:00 PM, Joan Lluch (casa) wrote: However, let me copy an excerpt of the Cocoa documentation on the GC algorithm that Cocoa uses. You haven't updated your documentation since the beginning of November last year

Re: garbage collection and NSConnection

2008-07-02 Thread Joan Lluch (casa)
methods for setting properties, (which send release to the old object and retain the new one), you will not incur in any memory problem. It should not be that hard, and at the end your application will potentially perform better, and for sure it will eat significantly less memory. Joan Lluch

Re: How to deal with a MenuItem with both a binded state property and an action method

2008-06-29 Thread Joan Lluch (casa)
report after some testing to confirm it. Joan Lluch.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help

Re: How to deal with a MenuItem with both a binded state property and an action method

2008-06-28 Thread Joan Lluch (casa)
the menuItem click or from my own code, but that seems rather weird to me and I believe that there should be a cleaner way. Any help is appreciated. Joan Lluch ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: How to deal with a MenuItem with both a binded state property and an action method

2008-06-28 Thread Joan Lluch (casa)
El 28/06/2008, a las 9:59, Ken Thomases escribió: On Jun 28, 2008, at 2:41 AM, Joan Lluch (casa) wrote: The problem remains because when the user selects the menuItem the following happens: FIRST- myAction is executed (possibly setting menuState to an appropiate value) SECOND

Class Browser and Code Sense not fully working

2008-06-19 Thread Joan Lluch (casa)
this problem so it must be something related to 3.0 or my settings. Any help will be appreciated. Joan Lluch. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: NSTreeControllerTreeNode not documented? [solved]

2008-06-08 Thread Joan Lluch (casa)
El 08/06/2008, a las 13:31, Norbert Heger escribió: On Jun 8, 2008, at 11:28 , Joan Lluch (casa) wrote: An NSOutlineView which is binded to a NSTreeController gives instances of NSTreeControllerTreeNode in the item (or items) parameter of their datasource or delegate methods

crash in outlineView:isGroupItem:

2008-06-08 Thread Joan Lluch (casa)
I am using outlineView:isGroupItem delegate method to create an NSOutlineView that mimics the look of Mail.app or iTunes - (BOOL)outlineView:(NSOutlineView *)sender isGroupItem:(id)item { return ( item [[item representedObject] isKindOfClass: [GroupNode class]] ) ; } My

Re: Is there a way to efficiently access NSArray element contents?

2008-06-08 Thread Joan Lluch (casa)
El 08/06/2008, a las 20:13, Brent Fulgham escribió: I've been enjoying the NSArray/NSMutableArray classes as I work with various user interface features for a program I'm working on that interacts with a legacy C++ library. I've recently begun considering how to efficiently display the

Re: crash in outlineView:isGroupItem:

2008-06-08 Thread Joan Lluch (casa)
El 08/06/2008, a las 22:11, Kyle Sluder escribió: On Sun, Jun 8, 2008 at 1:37 PM, Joan Lluch (casa) [EMAIL PROTECTED] wrote: return ( item [[item representedObject] isKindOfClass:[GroupNode class]] ) ; Style note: you don't need to do this. [[item representedObject] isKindOfClass

How to catch all mouse clicking (or avoid multiple click filtering in startTrackingAt)

2008-04-25 Thread Joan Lluch (casa)
I have implemented a NSButtonCell subclass in the usual way to catch mouse tracking. I get the startTrackingAt and stopTracking messages called correctly on the first click of the mouse. However the startTrackingAt is not quickly called again if I quickly click again the mouse, such as if

Re: [solved] How to catch all mouse clicking (or avoid multiple click filtering in startTrackingAt)

2008-04-25 Thread Joan Lluch (casa)
: On Apr 25, 2008, at 1:29 AM, Joan Lluch (casa) wrote: I have implemented a NSButtonCell subclass in the usual way to catch mouse tracking. I get the startTrackingAt and stopTracking messages called correctly on the first click of the mouse. However the startTrackingAt is not quickly called again