[mythtv-commits] Ticket #3692: Memory leak in DVB DummyVideo code
MythTV
mythtv at cvs.mythtv.org
Fri Jul 6 21:42:52 UTC 2007
#3692: Memory leak in DVB DummyVideo code
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: dvb | Version: unknown
Severity: medium | Resolution:
Mlocked: 0 |
-----------------------+----------------------------------------------------
Comment(by anonymous):
Neither one of these patches fixes the issue.
I added some debugging code and found that while StopDummyVideo() gets
called, we never get into the while() loop that calls pthread_join()
This is because of this:
{{{
Index: dvbrecorder.cpp
===================================================================
--- libs/libmythtv/dvbrecorder.cpp (revision 13823)
+++ libs/libmythtv/dvbrecorder.cpp (working copy)
@@ -1137,7 +1137,7 @@
}
if (StreamID::IsVideo(info->streamType))
- _stop_dummy = true;
+ StopDummyVideo();
if (StreamID::IsAudio(info->streamType))
GetTimeStamp(tspacket);
}}}
Which when added (without any of your patches applied) fixes the problem.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3692#comment:4>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list