[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GStreamer xwidget

From: Po Lu
Subject: Re: GStreamer xwidget
Date: Tue, 30 Nov 2021 09:38:49 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Richard Stallman <rms@gnu.org> writes:

> [[[ 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.

I don't think so, but if someone else knows better, please chime in :)

> 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.

Hmm, I will take a look at that.

> 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!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]