Ticket #6833: hvr1300_0.23rc2_working-but-not-properly.patch
File hvr1300_0.23rc2_working-but-not-properly.patch, 2.2 KB (added by , 15 years ago) |
---|
-
mythtv/libs/libmythtv/mpegrecorder.h
class MpegRecorder : public DTVRecorder, 34 34 void Initialize(void) {} 35 35 void StartRecording(void); 36 36 void StopRecording(void); 37 void FinishRecording(void); 37 38 void Reset(void); 38 39 39 40 void Pause(bool clear = true); -
mythtv/libs/libmythtv/tv_play.cpp
bool TV::StartPlayer(PlayerContext *mctx, PlayerCo 5167 5167 5168 5168 InitUDPNotifyEvent(); 5169 5169 bool ok = false; 5170 if (ctx->HasNVP()) 5171 { 5172 VERBOSE(VB_PLAYBACK, LOC + QString("StartPlayer: tearing down existing NVP")); 5173 ctx->SetNVP(NULL); 5174 } 5175 5170 5176 if (ctx->IsNullVideoDesired()) 5171 5177 { 5172 5178 ok = ctx->CreateNVP(this, NULL, desiredState, 0, NULL); -
mythtv/libs/libmythtv/mpegrecorder.cpp
bool MpegRecorder::OpenV4L2DeviceAsInput(void) 431 431 } 432 432 else 433 433 { 434 VERBOSE(VB_IMPORTANT, "\n\nNot ivtv or pvrusb2 or hdpvr driver\n\n");434 VERBOSE(VB_IMPORTANT, QString("\n\nNot ivtv or pvrusb2 or hdpvr driver: %1\n\n").arg(driver)); 435 435 bufferSize = 4096; 436 436 usingv4l2 = has_v4l2_vbi = true; 437 437 has_buggy_vbi = requires_special_pause = false; … … bool MpegRecorder::ProcessAVTSPacket(const TSPacke 1386 1386 void MpegRecorder::StopRecording(void) 1387 1387 { 1388 1388 QMutexLocker locker(&recording_wait_lock); 1389 if (recording )1389 if (recording && encoding) 1390 1390 { 1391 1391 encoding = false; // force exit from StartRecording() while loop 1392 1392 recording_wait.wait(&recording_wait_lock); 1393 1393 } 1394 1394 } 1395 1395 1396 void MpegRecorder::FinishRecording(void) 1397 { 1398 DTVRecorder::FinishRecording(); 1399 TeardownAll(); 1400 } 1401 1396 1402 void MpegRecorder::ResetForNewFile(void) 1397 1403 { 1398 1404 DTVRecorder::ResetForNewFile();