Open Bug 1210667 Opened 4 years ago Updated 4 years ago

Refactor canPlayType handling

Categories

(Core :: Audio/Video: Playback, defect, P3)

43 Branch
defect

Tracking

()

People

(Reporter: jya, Unassigned)

References

Details

The code implementing canPlayType (DecoderTraits) has become almost impossible to maintain.

This bug will track rewriting all of this, using a nicer lever of attraction on top of each reader.

It will also allow for better result as currently the results is often based on simply comparing strings with #if without actually testing that the underlying player will work (and hence the need for things like bug 1208348).

One can imagine a global registration system where each reader will register itself on what codec and format it support, and how confident it is to be able to play them.
Mass change P2 -> P3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.