diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2008-12-14 19:51:31 +0100 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2008-12-14 19:51:31 +0100 |
commit | 1296a56d96dedb3d8f34f41787c971ec42bb3ca7 (patch) | |
tree | 9cb7cafa296643c8ee3169a5ae6b41fc8d315cb5 /menu.c | |
parent | 1072f8978350e57f7aa35aaa79081e5031a12901 (diff) | |
download | vdr-patches-1296a56d96dedb3d8f34f41787c971ec42bb3ca7.tar.gz vdr-patches-1296a56d96dedb3d8f34f41787c971ec42bb3ca7.tar.bz2 |
ttxtsubs: updated patch for VDR 1.6.0-2 by Rolf Ahrenbergpatches/ttxtsubs-vdr-1.6
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -28,6 +28,7 @@ #include "themes.h" #include "timers.h" #include "transfer.h" +#include "vdrttxtsubshooks.h" #include "videodir.h" #define MAXWAIT4EPGINFO 3 // seconds @@ -3811,8 +3812,10 @@ cRecordControl::cRecordControl(cDevice *Device, cTimer *Timer, bool Pause) isyslog("record %s", fileName); if (MakeDirs(fileName, true)) { const cChannel *ch = timer->Channel(); - recorder = new cRecorder(fileName, ch->GetChannelID(), timer->Priority(), ch->Vpid(), ch->Apids(), ch->Dpids(), ch->Spids()); + cTtxtSubsRecorderBase *subsRecorder = cVDRTtxtsubsHookListener::Hook()->NewTtxtSubsRecorder(device, ch); + recorder = new cRecorder(fileName, ch->GetChannelID(), timer->Priority(), ch->Vpid(), ch->Apids(), ch->Dpids(), ch->Spids(), subsRecorder); if (device->AttachReceiver(recorder)) { + if (subsRecorder) subsRecorder->DeviceAttach(); Recording.WriteInfo(); cStatus::MsgRecording(device, Recording.Name(), Recording.FileName(), true); if (!Timer && !cReplayControl::LastReplayed()) // an instant recording, maybe from cRecordControls::PauseLiveVideo() |