GNOME Bugzilla – Bug 764314
docs: generate vaapijpegdec documentation
Last modified: 2016-04-29 08:41:13 UTC
Because of the split of vaapijpegdec from vaapidecode the gtk-doc element page was missing. This patch enables the documentation autogeneration.
Created attachment 324946 [details] [review] docs: generate vaapijpegdec documentation
Comment on attachment 324946 [details] [review] docs: generate vaapijpegdec documentation Looks good to me, any reason you didn't just push it?
(In reply to Tim-Philipp Müller from comment #2) > Comment on attachment 324946 [details] [review] [review] > docs: generate vaapijpegdec documentation > > Looks good to me, any reason you didn't just push it? Actually, yes, thanks for asking. I don't feel right to document each split element from GstVaapiDecode in gstvaapidecode.c I was wondering, but I didn't dig on it, if it is possible to write that documentation in another file.
after experimenting a bit, I guess this patch is the simplest solution. I'll push it now.
Attachment 324946 [details] pushed as aac0f50 - docs: generate vaapijpegdec documentation
I think gtk-doc doesn't care where it picks up the docs blurbs from, you could just make a separate .c file for the docs or one for each decoder if you wanted to. Just have to tell gtk-doc to scan it.