rtph264pay/rtph265pay: Only mark the last fragment of an AU
Commit 4add820c removed the check for the end of fragmentation. As a result, all fragments of an AU's last NALU were marked.
Includes a new test that fails without the patch.
Potential fix for #540 (closed)
Edited by Nicolas Dufresne