mirror of
https://github.com/androidx/media.git
synced 2025-05-11 17:49:52 +08:00

Since we have a Format class as well, it's very confusing that FormatHolder actually holds a MediaFormat. I think it's quite likely that Format will need promoting into the root package as part of the HLS work, which will make this even more confusing (although it is possible that for HLS we'll define yet another Format class, if it turns out we need significantly different fields). Note - I deliberately avoided renaming the formatHolder args/params, because they're not particularly ambiguous and because it introduces some ugly line breaks.