Created attachment 117502 [details] Patch to support RichMedia annotations in poppler qt5 frontend The attached patch adds the data structures and conversion code to the Qt5 front end for basic support of RichMedia annotations as described in 'Adobe Supplement to the ISO 32000'. Since most poppler frontends on Linux cannot support the proper playback of Flash media, this patch retrieves enough information (flash player parameters and filespec to embedded data stream) from the PDF, to allow the front end to extract the actual media (e.g. video or audio) and do the playback by the native media player of the system. This patch depends on https://bugs.freedesktop.org/show_bug.cgi?id=91547
Created attachment 117504 [details] [review] Patch to support RichMedia annotations in poppler qt5 frontend
Created attachment 117506 [details] [review] Patch to support RichMedia annotations in poppler qt5 frontend
Some more documentation? Qt4 frontend support?
Created attachment 117625 [details] [review] Patch to support RichMedia annotations in poppler qt frontends Added API documentation to the new classes, made all setter methods private (since they are used only by AnnotationPrivate anyway) and extended the patch to copy Qt4 frontend as well.
From reading the code i understand that annotConfiguration, annotInstance and annotAsset can be null, should protect against those, no? Or maybe make it on the core so that they are never null and have default valueS?
Created attachment 117664 [details] [review] Patch to support RichMedia annotations in poppler qt frontends Add safety checks to not access nulled annotConfiguration, annotInstance or annotAsset variables.
Pushed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.