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: Mon, 29 Nov 2021 16:12:24 -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> <87r1az4d9j.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="36378"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, yuri.v.khan@gmail.com To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 29 22:14:50 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 1mrnz7-0009E3-Kf for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 22:14:49 +0100 Original-Received: from localhost ([::1]:33118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrnz5-0006uS-Ql for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 16:14:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrnwo-0004b0-72 for emacs-devel@gnu.org; Mon, 29 Nov 2021 16:12:28 -0500 Original-Received: from [2001:470:142:3::e] (port=33404 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 1mrnwm-0002Co-6P; Mon, 29 Nov 2021 16:12:25 -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=Vi/jJVfLJGVqQJduKbFTFDaTrQ3sZJ7GLlfePa/3Kko=; b=feuHrLbqg5hF trcu3SlAv4S1haHaHrPr8i26IhAsINanlp/wUJpzpsxHzEc4wnNH4zfzuAKCi6ekZz2fjYUA4iOee eGFXsJZli+Xx0etAXh/R23OmoSgsZ+Z8+S7t23KnO7LykdwtioETzFuDjl50kXP+8qiWzd9N2ebNC M2mtqP1WXJaqkGT/Lfc6/vUiMFA/rBV/KtOWzo8uNpsX2w3ROyYVkYS8K3WI94FHn7D6JDYfpDP7H LKFjP8Fmq/Cae9lzm7O5Yc2cGmmIEGjqS6YwoXDAHP2/7NpVnvuNULGUd4+eGQ8YCG06446lU2u/3 bWRny9swrscqWLWzA2D+AQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mrnwm-00044g-62; Mon, 29 Nov 2021 16:12:24 -0500 In-Reply-To: <87r1az4d9j.fsf@yahoo.com> (message from Po Lu on Mon, 29 Nov 2021 15:44:24 +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:280510 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. ]]] > In GStreamer, the plugin used for that is the playbin plugin. I refuse > to use that plugin and will instead write individual pipelines for > common playback formats, as the playbin likes to load arbitrary plugins > with no regard for whether or not they are free software. This sounds like the right approach, basically. But I have a couple of ideas to suggest, to reduce the work. 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. 2. If playbin does not offer such a hook, we could patch playbin to offer a suitable hook. Maybe we could get that patch upstreamed. 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. WDYT? -- 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)