Hi,<br><br>Not sure if it&#39;s the correct place to talk about gstreamer-vaapi, if<br>not please tell where it might be more appropriate.<br>(I repost it since the bouncer doesn&#39;t seem to let the original message pass---too many attachement)<br>

<br>I have an AMD E350 with catalyst version 11.11, latest libva,<br>gstreamer-vaapi, clutter-gst.<br><br>I&#39;m trying to play a video in a loop, my goal is to use clutter-gst<br>and it works great. (Thanks to all the people who work on these<br>

projects).<br><br>But If I tell it to loop, I notice that everytime it restarts, around<br>50m of memory is allocated, quickly leading to memory exhaustion.<br><br>On
 
<a href="http://codepad.org/NLZ8HQNp">http://codepad.org/NLZ8HQNp</a>   is the output of the video_player test <br>application with debug, misc, media and buffering enabled <br><br>(I also tried to seek back to 0 when progress is over 90% and while<br>

everything looks ok, the video stays on a still frame every even<br>iteration, but that&#39;s probably another  problem).<br><br>I wanted to see if the problem is in clutter_gst or gstreamer-vaapi,<br>so I tried to reproduce the loop with a test case (
<a href="http://codepad.org/MNfvaX4r">http://codepad.org/MNfvaX4r</a> )<div>seeking to 0 upon EOS and it doesn&#39;t seem to leak, but  there is a problem<br>with the clock, the video is like paused, then played very fast.<br>

(here <a href="http://codepad.org/CtcLGQAg">http://codepad.org/CtcLGQAg</a> is the output of this test)</div><div><br>I also tried to set the state to NULL and then to PLAY upon EOS<br>(
<a href="http://codepad.org/YFDNjdv1">http://codepad.org/YFDNjdv1</a> ), this leads to leaks (it seems the driver is reloaded<br>every time)<br>but I get a segmentation fault after a few iterations, before memory<br>exhaustion (here <a href="http://codepad.org/0ogdVqwA">http://codepad.org/0ogdVqwA</a> is the output and here <a href="http://codepad.org/0lerTT6a">http://codepad.org/0lerTT6a</a></div>

<div> the backtrace from gdb).</div><div><br>Please let me know if this should be posted elsewhere or if I can help<br>or provide any other kind of information.<br><br>Thanks<br>Pierre<br><br></div>