> > While I'll admit that I'm not a particular fan of dictionary > > versioning (or a change flag, etc), it was really the only simple way > > I could see of accomplishing this. Having all demuxers setting flags > > when metadata changes would involve modifying all of them, but that > > just strikes me as error-prone and messy. > > Well, it's not like there's all that many demuxers supporting this. So far it > seems like just Ogg. > And I don't see why would it be particularly error-prone -- on each read/seek > call, the generic code would set the flag to 0. Then the code in the demuxer > that sets the metadata would just set the flag to 1. So the code added to each > demuxer supporting metadata changes should be just one line -- setting the > flag.
The following implement metadata updating: ogg, flv, nut, mov. While certainly possible to update these, it's just adding something that everyone needs to remember while implementing a demuxer that could be done automatically for them. Nevertheless, if everyone thinks that this is the road to go down, I'll go ahead an make the change. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
