Hi all,<br>I have implemented a hardware decoder in the form of FFMPEG/libavcodec, and have a XV support for Xorg's fbdev driver. I want to use vlc to call them with option "--ffmpeg-dr -vo xv".<br>Now the problem is that my decoder's "output data" is just include pointers that point to actual decoded data. In single-thread media player(MPlayer), The decoder's output data is send to VO directly and this is serial. The decoder will not continue before the image is displayed, So the actual output data buffer that the Physical/Virtual Addresses point to will not be overlaid by decoder.<br>
But in VLC, it seems that only the first frame is displayed. I guess that there is a lack of sync mechanism between decoder and vout. I can not ensure that the address in the picture out/render buffers still point to the invalid data. <br>
I want to keep only one direct buffer, and hope It could be serial between video_decoder and video_output, so change the macro VOUT_MAX_PICTURES to 2, but receive a output error "pictures leaked, resetting the heap".<br>
Hope someone can help me, how to solve this problem or give me some suggestions how to synchronize the decoder and xv,<br>Thanks in advance!<br clear="all">Best regards,<br>jetta<br><br><br><br>