dashdemux: tests: added content protection test
authorFlorin Apostol <florin.apostol@oregan.net>
Tue, 16 Feb 2016 11:37:44 +0000 (11:37 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 22 Apr 2016 20:33:15 +0000 (17:33 -0300)
commit808a51dc0e2011c24eee9c1a691473ec2886aa49
tree06bd346f6e131305799407f87dcaaf422268cc83
parentaa7a3cb24f33d580cab067a81c505c9ff0d3fd72
dashdemux: tests: added content protection test

Test content protection
Configure 3 content protection sources:
- a uuid scheme/value pair
- a non uuid scheme/value pair (dash recognises only uuid schemes)
- a complex uuid scheme, with trailing spaces and capital letters in scheme uri
Only the uuid scheme should be recognised. We expect to receive 2 content protection events

https://bugzilla.gnome.org/show_bug.cgi?id=758064
tests/check/elements/adaptive_demux_engine.c
tests/check/elements/adaptive_demux_engine.h
tests/check/elements/dash_demux.c