VO: implement shared option handling, use for vdpau
commit9426c5f92aab4b561c568e4250f5b250e2aa45c5
authorUoti Urpala <uau@mplayer2.org>
Mon, 25 Jun 2012 20:12:03 +0000 (25 23:12 +0300)
committerUoti Urpala <uau@mplayer2.org>
Mon, 16 Jul 2012 18:08:42 +0000 (16 21:08 +0300)
treebd66b2fd5973e8fb0aa0815d4151e8ff3440b0e0
parent48f0692ab973448de5faa323478d1cba3d42e2af
VO: implement shared option handling, use for vdpau

Add infrastructure that allows VOs to specify the suboptions they
take, and get the values directly parsed into their private struct.
The option functionality available with the new system is the same as
for top-level player options. Convert vo_vdpau to use the new system
instead of the old subopt_helper.
libvo/video_out.c
libvo/video_out.h
libvo/vo_vdpau.c