[FFmpeg-soc] [soc] Don't reuse the user's AVCodecContext for the first decoding thread, and copy more values between them as needed.

Alexander Strange astrange at ithinksw.com
Sun Aug 17 06:39:06 CEST 2008


This fixes a large class of race conditions (coded_frame works again) and should improve frame dropping.
---
 libavcodec/mpegvideo.c |    1 -
 libavcodec/pthread.c   |   79 ++++++++++++++++++++++++++++++++++++++++-------
 libavcodec/utils.c     |    2 +-
 mt-work/todo.txt       |    4 +--
 4 files changed, 69 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: df5d7acdcd0dcbfca6f8fd4f76c9369cb1674435.diff
Type: text/x-patch
Size: 8346 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080817/b7309a16/attachment.bin>


More information about the FFmpeg-soc mailing list