tests: elements: clean up vaapisink test
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 12 May 2017 16:17:55 +0000 (18:17 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 12 May 2017 16:38:58 +0000 (18:38 +0200)
commitb02a25cd7f1b474d15391ec772b32591bcfdd5b1
treeaebc8cbfed81ba7c77e38fe964b3abfc72e7364e
parent5ab5113f6f401584f8ab053f098c2fb7340699d3
tests: elements: clean up vaapisink test

- Use gst_element_send_event() instead of gst_pad_push_event()
- don't zero App structure
- check for pipeline parsing error
- only get vaapisink for property set
tests/elements/test-vaapisink.c