From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: GStreamer xwidget Date: Wed, 01 Dec 2021 02:04:51 -0500 Message-ID: References: <87ee7cq2mu.fsf.ref@yahoo.com> <87zgpzp80c.fsf@yahoo.com> <87czmvtf68.fsf@gnus.org> <87czmunkmo.fsf@yahoo.com> <8735noajkl.fsf@yahoo.com> <87sfvn5p0j.fsf@yahoo.com> <87v90i4cmc.fsf@yahoo.com> <87pmqozm99.fsf@yahoo.com> <87ee72cix7.fsf@yahoo.com> <87a6ho99gy.fsf@yahoo.com> <87ee6z64el.fsf@yahoo.com> <87tufu2rag.fsf@yahoo.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4975"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 01 08:06:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msJhi-00016H-L4 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 08:06:58 +0100 Original-Received: from localhost ([::1]:53358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msJhg-0004Mo-H6 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 02:06:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msJfh-00023V-UA for emacs-devel@gnu.org; Wed, 01 Dec 2021 02:04:55 -0500 Original-Received: from [2001:470:142:3::e] (port=38102 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msJfh-0006xn-Lz; Wed, 01 Dec 2021 02:04:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=1B/1klB/CGxR88AVOugkg741mrRc7FLX2YPgFp5nld4=; b=Sqd0kgEyXT+4 PHb+aiFEzIaUFzIdORVDbJpTpvKhG7ZWp1p9LqgSoBibinLqSNkAK1KXB+6Vv2QIEcyoqDRLkYr6T k9evuBUqi4nAgpulWDj/lARhpM73DkDONFzljrk3hRblF3m48oM/8Z98e/NbZlKMwPeyGyVsgmh7a tQEuO7JO4q8u5/pU2NcgYEMTD1qZeTilpCg8ttipz42BIh/x40IQrPFvcMUE2Nih2Dwy5QdIRI3vy ET0lKsr8HnuYVOZtn+h3WkOWbGV3eSc5MjDDvBParDEgCTuY8zI+zasD8vnee3BEcals5TSw4lnBy F+OmgEu1z8leBBkQpBgELg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1msJff-0001oQ-9z; Wed, 01 Dec 2021 02:04:51 -0500 In-Reply-To: <87tufu2rag.fsf@yahoo.com> (message from Po Lu on Tue, 30 Nov 2021 12:36:39 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280588 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > It is initialized by GStreamer when Emacs calls `gst_init'. The data > structure is private to GStreamer, and as such, its contents are not > guaranteed to be stable. > > Can Emacs study the data structure after it is filled in? > > Could Emacs delete some of the elements (i.e., put some > > plug-ins off limits)? > Unfortunately, I don't think so. We can write unmodular code if that's the best solution. We can have a file in Emacs that compiles using the GStreamer header files -- perhaps syntactically transformed -- so it can access this data structure and do what we want it to do. We can write it so that it would be a reasonable added interface for GStreamer, and ask them to install it. But we will have a fallback if they choose not to. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)