GNOME Bugzilla – Bug 678365
0.11: gstffmpegviddec broken
Last modified: 2012-06-20 06:40:54 UTC
Created attachment 216718 [details] [review] Patch There are two problem after last port from 0.11 1. The decoder keeps getting reopened every time caps event is sent even though caps hasn't changed. I have a dynamic pipeline so the videoparser keeps getting reconfigure events on which it sends caps events. After discussing this with wtay last time the conclusion that decoder should not be reopened on same caps 2. ffmpeg decoder may only get trained on EOS. Any other time it may break frame-based multithreaded decoding.
*** Bug 675359 has been marked as a duplicate of this bug. ***
Created attachment 216775 [details] [review] Patch New patch, fixes all from previous patch and two memory leaks - neither input nor output frames were released.
commit 17ee8113d7d47c43ba1ba20b6e154ad706736bf4 Author: Matej Knopp <Matej@new-host-5.home> Date: Tue Jun 19 21:41:14 2012 -0400 ffmpegviddec: Don't reopen decoder on same caps, fix memory leaks, only drain on EOS