Changed parameters to reference to avoid reference counter operations.
Added tests for audio and video major types.
Authored by: crowbar27 2016-05-19
Parent: [r805]
Child: [r807]