Since we know exactly which samples are rendered by the player we could easily gather statistics about dropped frames and rendered frames. Right now we depend on the fpsdisplaysink for that...
Instead we could:
1) before replacing the sample stored in player, check if it was rendered by fetching some bool variable from its qdata
2) when rendering set the bool variable in qdata to TRUE
Created attachment 387635 [details]
Comment on attachment 387635 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=387635&action=review
> + break;
We can maybe ASSERT_NOT_REACHED here.
Committed r254507: <https://trac.webkit.org/changeset/254507>