Results 1 to 2 of 2

Thread: Did anybody found memory leak problem in videowidget example of qt 4.6.0

  1. #1

    Question Did anybody found memory leak problem in videowidget example of qt 4.6.0

    I want to use qt to develop a video application. So after qt 4.6.0 released, I had test its multimedia module. I had compile run the "videowidget" and "videographicItem" examples in windows xp with visual studio 2008 , then run this applcation, open a gif file. But I found that the memory usage of the "videowidget" or "videographicImte" always increase and could not end play this gif file. I stop player, the memory usage didn't decrease. Then I choose another .mng file, the memory usage is also always increase. Did this problem is a memory leak bug? And how to fix the bug?

  2. #2

    Default Re: Did anybody found memory leak problem in videowidget example of qt 4.6.0

    When I debug this application, I found that perhaps QVideoFrame class had memory leak bug. I write a simple dialog based gui application. And then add "QVideoFrame frame(800*600*3, QSize(800, 600), 800 * 3, QVideoFrame::Format_RGB24);" in dialog paintEvent handler function. The memory usage increased with application run time. But I didn't know how to fix this bug. Please help me.

Similar Threads

  1. memory leak question
    By cool_qt in forum General Programming
    Replies: 3
    Last Post: 20th January 2009, 08:49
  2. Replies: 0
    Last Post: 26th September 2008, 22:33
  3. Memory leak weirdness
    By Darhuuk in forum General Programming
    Replies: 10
    Last Post: 10th January 2008, 19:51
  4. Memory Leak in my Application :-(
    By Svaths in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 20:42
  5. Memory Problem with SIGNALS and SLOTS
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2007, 21:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.