Bug report and fix: mythtv backend segfault with demo record…

Top Page

Reply to this message
Author: Scott Barker
Date:  
To: dmo-discussion
Subject: Bug report and fix: mythtv backend segfault with demo recorders
I have a mythtv testing environment set up with demo test recorders. After
every livetv session or recording, the backend segfaults. The problem has
been reported upstream by others as ticket 10933[1]. Could you please apply
the fix[2] mentioned in that ticket to your mythtv packages? The unified
diff is also attached to this email. Thank you.

[1] http://code.mythtv.org/trac/ticket/10933
[2] http://code.mythtv.org/trac/changeset/661a1ddd71cfe5b24df72cd4585749a43af2f103/mythtv

--
Scott Barker
Linux Consultant
scott@???
http://www.mostlylinux.ca
Index: mythtv/libs/libmythtv/mpegrecorder.cpp
===================================================================
--- mythtv/libs/libmythtv/mpegrecorder.cpp    (revision 4f028f388c38c1677b6c79c5efcc461f8b20cb4c)
+++ mythtv/libs/libmythtv/mpegrecorder.cpp    (revision 661a1ddd71cfe5b24df72cd4585749a43af2f103)
@@ -1145,10 +1145,4 @@
 }


-void MpegRecorder::StopRecording(void)
-{
-    MpegRecorder::StopEncoding();
-    V4LRecorder::StopRecording();
-}
-
 bool MpegRecorder::ProcessTSPacket(const TSPacket &tspacket_real)
 {
Index: mythtv/libs/libmythtv/mpegrecorder.h
===================================================================
--- mythtv/libs/libmythtv/mpegrecorder.h    (revision f81f712537b63502814d1f274c7da14196cedd8c)
+++ mythtv/libs/libmythtv/mpegrecorder.h    (revision 661a1ddd71cfe5b24df72cd4585749a43af2f103)
@@ -31,5 +31,4 @@
     void Initialize(void) {}
     void run(void);
-    void StopRecording(void);
     void Reset(void);