On Tue Feb 27 13:52:59 2024 +0000, Nikolay Sivov wrote:
Is that exactly what we need, to preserve existing attributes? If not, another option is to copy everything based on Compare() result.
The output type might still contain different attributes, such as different subtype. It's not completely clear how native handles this and there's plenty of possibilities.
The main reason I'm doing this is because the frame size isn't required, and might be provided by the decoder instead. I could do that completion for hand-picked attributes if that sounds better.
This is probably not completely correct, as it propagates every attribute downstream when I believe some get swallowed, but it was also easier. Note that there's the same kind of thing being done in the topology loader now, for mostly the same reasons.