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: Sun, 28 Nov 2021 22:01:18 -0500 Message-ID: References: <87ee7cq2mu.fsf.ref@yahoo.com> <87ee7cq2mu.fsf@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> 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="987"; 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 Mon Nov 29 04:02:39 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 1mrWwA-000AYV-Bo for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 04:02:38 +0100 Original-Received: from localhost ([::1]:42230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrWw9-0006gd-1H for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 22:02:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrWut-0005eH-9v for emacs-devel@gnu.org; Sun, 28 Nov 2021 22:01:19 -0500 Original-Received: from [2001:470:142:3::e] (port=53922 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 1mrWus-0007qu-UX; Sun, 28 Nov 2021 22:01: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=LcQGL6txkDIRnpKRUQfMiBdjNX702DGU/0aSuQbFYnI=; b=Fcx+VMSO3/76 bnFRJJXj0WhfyaGeea4rWjO81yPbf5oX5wHCJ9J6sZVS26vmRn2CW9Xnh7VSNIs5AQidSST642fUX lnXCpWtVaA9vtx239hdmJa43ObfngXFbz3JpVr5aYRhMnS5vOtSfK9G5G7gtbTEkPu/GJKHgpsz0a DrSwN8BBXBjO1XTvf9AgPnyg3BxmH9lxp+RxTO41lFqz92K3Cfhdd+OmllLQt5CKmuBoasV5yiAD6 Ba14wlj/C+PnS85izuHirQlNFPo6KTm+QAJV4qKe0vu6BPf+PxCpSlHJo1CvdQU7YGRjlitk0urjS xi6SIzEZjMR24BHv4hTE4g==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mrWus-00081F-UV; Sun, 28 Nov 2021 22:01:18 -0500 In-Reply-To: <87a6ho99gy.fsf@yahoo.com> (message from Po Lu on Sun, 28 Nov 2021 12:42:53 +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:280447 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. ]]] > + return (gst_registry_find_feature (registry, "xvimagesink", > + GST_TYPE_ELEMENT_FACTORY) > + && gst_registry_find_feature (registry, "queue", > + GST_TYPE_ELEMENT_FACTORY) > + && gst_registry_find_feature (registry, "videotestsrc", > + GST_TYPE_ELEMENT_FACTORY) > + && gst_registry_find_feature (registry, "fakesink", > + GST_TYPE_ELEMENT_FACTORY) > + && gst_registry_find_feature (registry, "tee", > + GST_TYPE_ELEMENT_FACTORY)); This takes me one step forward. But you haven't explained what this code does, and I can't recognize the meaning of anything. What does gst_type_element_factory do? It looks up something in a registry, right? What does a registry mean? What is the meaning of the "xvimagesink" feature? What is the meaning of the "queue" feature? And so on? Can you tell me an example that explains what this is doing and why? > Here is where Emacs checks for the presence of the plugins it wants. > All of these plugins are in gst-plugins-base and gst-plugins-good. Are you saying that "xvimagesink", "queue", "videotestsrc", "fakesink" and "tee" are the names of plug-ins? If so, can you describe what each one does? For instance, if the user specifies the URL of an mp4 file, which of those plug-ins will Emacs tell GStreamer to load? Are you saying that those five plug-ins are the only five plug-ins that Emacs will ever tell GStreamer to load? -- 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)