[vlc-devel] [RFC PATCH 8/9] RFC: es_out: fix group_id and i_id collision
remi at remlab.net
Thu Feb 13 19:01:53 CET 2020
Le torstaina 13. helmikuuta 2020, 13.03.37 EET Thomas Guillem a écrit :
> Now the big question, do we want to do the same with libvlc ?
Of course, we do. LibVLC should not have a worse interface, should it?
We still lack a synchronous interface, that would be better for programmatic
(non-interactive) use cases, but that's a separate problem also affecting the
> (...) But I still want to be able to select a track by its string_id.
> Mainly to restore the player previous state from a db.
For that, you need a reproducible serial identifier. The string identifier in
this patch is *no* such thing. It is a serial but unreproducible identifier. It
might work for RPC use cases like HTTP and D-Bus controls, but it won't work
for replaying the same MRL.
There are several sources of non-determinism between the MRL and the ES output
that would need to be resolved first.
More information about the vlc-devel