[vlc-devel] [PATCH] es_out: merge es->i_id with es->fmt.i_id
Rémi Denis-Courmont
remi at remlab.net
Fri Aug 17 13:22:18 CEST 2018
FMT ID is useful metadata in some cases. But ES ID should not even exist, as we cannot guarantee uniqueness in case of slave demuxers.
ES/track should be reference-counted and the pointer should be the temporally unique dentifier.
Le 17 août 2018 14:13:12 GMT+03:00, Francois Cartegnie <fcvlcdev at free.fr> a écrit :
>Le 17/08/2018 à 09:28, Thomas Guillem a écrit :
>> Since there are always the same value:
>>
>> `es->i_id = es->fmt.i_id;`
>> ---
>
>es_fmt can be updated,
>so any link by reference to fmt id gets broken.
>
>--
>Francois Cartegnie
>VideoLAN - VLC Developer
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180817/c901551d/attachment.html>
More information about the vlc-devel
mailing list