From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: GStreamer xwidget Date: Sun, 28 Nov 2021 15:04:51 +0700 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31524"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Magne Ingebrigtsen , Richard Stallman , Emacs developers To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 28 09:07:14 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 1mrFDO-00084Z-7d for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 09:07:14 +0100 Original-Received: from localhost ([::1]:33712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrFDM-0000QY-CH for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 03:07:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrFBM-0007Tm-JJ for emacs-devel@gnu.org; Sun, 28 Nov 2021 03:05:09 -0500 Original-Received: from [2607:f8b0:4864:20::a34] (port=37515 helo=mail-vk1-xa34.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrFBJ-0007gC-A0; Sun, 28 Nov 2021 03:05:08 -0500 Original-Received: by mail-vk1-xa34.google.com with SMTP id e27so8850797vkd.4; Sun, 28 Nov 2021 00:05:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IowIw1n7nh3ToXheXvBUuvn0WZA/v1dHyqSHVgHlxfI=; b=dpds07bTTtyCWQxb/TlXEAUxgxesIp2Hf12/fHyvO30yvH3A4o2sl3zFe23HeMuLx7 0FsPyNWyfPxoJkGfcY54Z5K4+g0idieV9VrGZK8+X615+0LurknTWDxZ2A9pFbQNAEEK MAbl0PFmyn5gMfmUylpSoqidXrq0vEfHPPmruidHgaugpi8Y7JqGBG/Ol019bU7KFBvf B4Wm4fq8OftV95cPneoOZ/pMxnwCW+IxZ4bLUJG0b93vE+Z5d30P3tZpE+yY/aAhf7uA RhtB4hsko8IqY7D5ks+NYxDAR3qEbdpOvNAOAU36i8qkaV0Wv2suHTp+MmEEGsmrjLUP TFTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=IowIw1n7nh3ToXheXvBUuvn0WZA/v1dHyqSHVgHlxfI=; b=A6MxiQyf0t9UXu41Jb7NxYFT4PAfJvtBwQuaHDFN5pj/zurfrUwI9Ki2N9gw3bni/O o5iJ8P8aPZvitEJ9nfn7lGjXHGqahORJLhjf7Iofcv9/hrFJOPeaVFNLzCjimQ+/8B0P ZGRCIwXEI6GB4L6H3Vy7s1XitrMZ/1ZAmGJ/90V4zaydgU6k9ByFY+4haBEIRq9697PZ kq+AVpETvabhKi4Azz2IFKJ6dX3sbdApD1ghNSoMRNjg/zUs1jahsYZazCbDIv3IpkuR FQmJIhbV91nCdaWd8+bvxOsdRqY3FQcp8JRtEPV0/54ryltjeXmdEDAp1Zddh3tYJD9P DjOA== X-Gm-Message-State: AOAM532WAyRvQLqRz5Iodj2DvmuvdZv8ZN88KjOIEa2SXkFnHjSglvLF UgmXPUFwfTAV859QVpk2/xHk94xx7AXo5xUIBHE= X-Google-Smtp-Source: ABdhPJwfmmw+i1jZFK2/5pRpz8831Xki4WP7UF0q5Nx4tyNJ3OuKGNn694PQx9D9nA66v4/5Z2EkvsbE5FIPd6xFBic= X-Received: by 2002:a05:6122:50e:: with SMTP id x14mr29953270vko.7.1638086703672; Sun, 28 Nov 2021 00:05:03 -0800 (PST) In-Reply-To: <87a6ho99gy.fsf@yahoo.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a34 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::a34; envelope-from=yurivkhan@gmail.com; helo=mail-vk1-xa34.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:280382 Archived-At: On Sun, 28 Nov 2021 at 11:43, Po Lu wrote: > + && gst_registry_find_feature (registry, "videotestsrc", > + GST_TYPE_ELEMENT_FACTORY) > + xw->gst_source =3D gst_element_factory_make ("videotestsrc", NULL)= ; Here you are checking for and instantiating a known source element that produces a fixed test image, but for any practical use (e.g. playing a video from a web page or local file system) you=E2=80=99ll need t= o instantiate a demultiplexer that knows how to split the original byte stream into video, audio, and subtitle streams, and video and audio decoders that handle the particular compression format. Some of those could be patent-encumbered (and so end up in ugly) or poorly maintained (bad). Are you planning to avoid those? If so, how? Also, will the user be able to override the avoidance (=E2=80=9CYes I know those = are patent-encumbered and I have no problem with that=E2=80=9D, or =E2=80=9CYes= I know that decoder might have a security vulnerability and I accept the risk=E2=80=9D)? If so, how?