Ticket #9825: commit-8677f41

File commit-8677f41, 1.3 KB (added by Rick Scott <rwscott@…>, 12 years ago)

patch for NuppelVideo? live TV channel changing

Line 
1commit 8677f415e289bf647da6f2e146d415576afe4701
2Author: Rick Scott <rwscott@users.sourceforge.net>
3Date:   Fri Dec 9 08:08:30 2011 -0500
4
5    Nuppel video live tv channel changing
6   
7    While investigating why channel changing live tv with a V4L source was not
8    working, I discovered that the file for the new channel was missing the
9    header that describes the file. So, when the frontend tried to decode the
10    file, recorded as RTjpeg, the "failed to open jump buffer" message came up
11    because a decoder could not be found. I switched the recording format to
12    MPEG4, and I could now switch channels, however there was no audio.
13   
14    By adding in the StartNewFile call in ResetForNewFile, everything seems to
15    be working as it should. I can record in either format, change channels in
16    live tv, with audio.
17   
18    Possible related tickets, 9825, 9846, 9830, 9868, 10012.
19
20diff --git a/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp b/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
21index e1adb3e..9433d44 100644
22--- a/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
23+++ b/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
24@@ -2850,6 +2850,8 @@ void NuppelVideoRecorder::ResetForNewFile(void)
25 
26     if (go7007)
27         resetcapture = true;
28+
29+    StartNewFile();
30 }
31 
32 void NuppelVideoRecorder::StartNewFile(void)