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:18 -0500 Message-ID: References: <87ee7cq2mu.fsf.ref@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> <87r1az4d9j.fsf@yahoo.com> <877dcq4e3a.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="36030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, yuri.v.khan@gmail.com, 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:05:12 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 1msJg0-0009Cl-7d for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 08:05:12 +0100 Original-Received: from localhost ([::1]:50076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msJfy-0002Ce-II for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 02:05:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msJf9-0001UV-0m for emacs-devel@gnu.org; Wed, 01 Dec 2021 02:04:19 -0500 Original-Received: from [2001:470:142:3::e] (port=38034 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 1msJf8-0006pd-Hb; Wed, 01 Dec 2021 02:04:18 -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=i6s7Hrt/xX0ho5ZfVLgxuSQGbUdJkh5jIrpzdGAAtB0=; b=k6zDkSmeZcs9 gk9DRQBfpw0hs7aiYShEu90wwSkWO/iRMAU0xi0tCf39UXD71g95662iErTw6BX5ff7lrNCvlFDRA ul40mZTDQHpkO5pBZ/VUBZ3dCEhmpj5ecNVxoaOjqP2El3Jq6nkwSXCWUnQb/QJo6TmfAtn78eXWW GbWNOimtcgABYgyRKwH+6Y50h0ZpYyuJmK/9qgCzEsZsxcYzmo0DtIUqeF/CcKKqjlbH3/nCTkrx6 zHxSF9vOiu3jPGRobpoeEkgI7gOMh+WWHAOuGJ0sAzfWIg7oQUub82tZjCkSPc1+/5a4V0mLHDEJ3 DH6j3RUAf90gkqDn+d8r4w==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1msJf8-0001cJ-HC; Wed, 01 Dec 2021 02:04:18 -0500 In-Reply-To: <877dcq4e3a.fsf@yahoo.com> (message from Po Lu on Tue, 30 Nov 2021 09:38:49 +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:280586 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. ]]] > > 1. Does playbin offer any hooks for the calling program to judge the plug-ins > > it wants to load, and say "That plug-in is ok" or "That plug-in is no good"? > > If it does, using them would be simpler and less work. > > 3. We could make a copy of the code for playbin under another name, > > and add those hooks to it. We coulod link it staticly with Emacs. > That would certainly complicate the Emacs building process a great deal. > Building GStreamer (including GStreamer plugins) is no easy task! We don't have to include the modified playbin _in GStreamer itself_. We could make it self-contained by copying in whatever GStreamer header material it depends on, so it will build easily as part of Emacs. However, releasing a modified GStreamer (modified in playbin) is another alternative. Free distros could use that version of GStreamer. The clean solution is to include those hooks in the main GStreamer release; then Emacs can simply use them. But we can't implement that ourselves. We can hope that the GStreamer developers will do so, but until then, we don't have a responsibility to make this clean. It is ok if it includes kludges, as long as it doesn't make a lot of work for us. -- 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)