diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2009-04-23 23:40:38 +0200 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2009-06-20 18:17:42 +0200 |
commit | e125a3bbd31042b4d8d72171f19c1006bee06282 (patch) | |
tree | 4aac3fff10bf0b33e2d02792e379dc29b1af870f /menu.c | |
parent | 4de3caa67369af756d2ef008ad26453c9c4065ad (diff) | |
download | vdr-patches-e125a3bbd31042b4d8d72171f19c1006bee06282.tar.gz vdr-patches-e125a3bbd31042b4d8d72171f19c1006bee06282.tar.bz2 |
ttxtsubs: Record teletext (subtitels) PID
(provided by Rolf Ahrenberg)
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -30,7 +30,6 @@ #include "timers.h" #include "transfer.h" #include "videodir.h" -#include "vdrttxtsubshooks.h" #define MAXWAIT4EPGINFO 3 // seconds #define MODETIMEOUT 3 // seconds @@ -3756,10 +3755,9 @@ cRecordControl::cRecordControl(cDevice *Device, cTimer *Timer, bool Pause) isyslog("record %s", fileName); if (MakeDirs(fileName, true)) { const cChannel *ch = timer->Channel(); - cTtxtSubsRecorderBase *subsRecorder = cVDRTtxtsubsHookListener::Hook()->NewTtxtSubsRecorder(device, ch); - recorder = new cRecorder(fileName, ch->GetChannelID(), timer->Priority(), ch->Vpid(), ch->Apids(), ch->Dpids(), ch->Spids(), subsRecorder); + int TPid[2] = { ch->Tpid(), 0 }; + recorder = new cRecorder(fileName, ch->GetChannelID(), timer->Priority(), ch->Vpid(), ch->Apids(), ch->Dpids(), ch->Spids(), TPid); 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() |