<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Not commenging in glib code as we have better people to that.<br>
<br>
Minor comments:<br>
* Use poppler own types in poppler core code (yeah i know it sucks)<br>
* Use poppler's Gulong instead of long in poppler core core<br>
* Use poppler's gFalse and gTrue in poppler core core<br>
* Use GBool on Movie.h<br>
* You killed "Sound" from the if on createAnnot, is that a mistake?<br>
<br>
Important things:<br>
* The Movie ownernship is not clear to me, AnnotMovie creates one but never<br>
deletes it, that makes an instant leak. Same for LinkRendition. I think your<br>
idea is that people needs to call getMovie and then take care of deleting<br>
themselves. That's unaccetable because not everyone might want to care about<br>
Annots and because if there are two calls to getMovie it creates a "who has<br>
to delete dilemma". Probably the easiest solution is making the getMovie<br>
functions return a copy of movie the caller has to care to delete.<br>
<br>
Critical things:<br>
* Movie.h is GPLv3+ which makes it impossible for us to use it, it needs to<br>
be GPLv2+<br>
<br></blockquote></div><br><br>Hi,<br><br>Here is another patch (against the last git commit) that fixes these issues. Ownership of members has been clarified.<br>I only send a patch that adds movie support to the "core" poppler lib. Movie access in the glib part has still to be rewritten to conform to recent changes proposed by I<font size="-1">ñ</font>igo (PopplerAnnotMapping).<br>
<br><br>