[vlc-devel] [PATCH 4/4] ytdl: use redirect for single media
Pierre Ynard
linkfanel at yahoo.fr
Tue Sep 22 19:40:32 CEST 2020
> If we parse the YoutubeDL JSON or the whatever to-be-defined
> serialisation format directly in the access plugin, then there's no
> point in redirecting: You can just wrap the native HTTP plugin via
> vlc_stream_NewURL() and catch the STREAM_GET_META control.
Yes indeed. I thought redirecting was marginally cleaner than nesting,
but that certainly works too.
I still don't get the deal about STREAM_GET_META that's implemented
sometimes, and sometimes it just sets the state in the input item.
> So there's really no point in extending the redirection to support
> metadata.
I'm not sure what you mean about extending for metadata, I don't
understand how it doesn't already work.
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel
mailing list