<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 1:45 PM, Hendrik Leppkes <span dir="ltr"><<a href="mailto:h.leppkes@gmail.com" target="_blank">h.leppkes@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Thu, Dec 5, 2013 at 1:33 PM, Eric Beuque <<a href="mailto:eric.beuque@gmail.com">eric.beuque@gmail.com</a>> wrote:<br>


><br>
> Thank you for your answer, i saw that av_frame_ref/av_frame_unref is<br>
> avaliable in FFMpeg 2.0, but i'm using 1.1.2, and I don't find any way to<br>
> use reference couting in this version. Is this feature available in 1.1.x<br>
> throught some others functions?<br>
><br>
><br>
<br>
</div>No, reference counting is a new feature in 2.0<br>
You could implement it yourself by providing a custom get_buffer<br>
implementation, but it requires a lot of plumbing code. Consider<br>
upgrading to 2.0? :)<br>
<div class=""><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br><br>Cannot upgrade to 2.0 API until it is included in linux distribution repositories by default like Debian stable. If no other solution, I will deal with buffer copy.<br></div></div>