add API function en265_number_of_queued_packets()