Skip to content

vp8enc: improve unit tests

  • make test_encode_simple cope with libvpx built with CONFIG_REALTIME_ONLY. Sadly, there's no way to detect this at runtime beyond trying to set lag-in-frames to >0, pushing a buffer and catching the GST_FLOW_NOT_NEGOTIATED return.

    • fix bitrot in test_encode_simple_when_bitrate_set_to_zero.

    • port test_encode_simple to GstHarness and introduce a separate test for the lag-in-frames property.

Merge request reports