Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: problems with radio recordings



Andreas Regel wrote:
Hi,

I am experiencing two problems with radio recording:

1. When recording a radio programme, it is not possible to listen to the station being recorded, all others on the same transponder work.
This should be fixed by the attached patch.

2. When replaying a radio recording and doing a fast forward, vdr exits with a segfault. The progress bar always shows a value between 10 and 11 minutes. Here is the backtrace for this error:

(gdb) bt
#0 0x401ea08c in memcpy () from /lib/libc.so.6
#1 0x08094de7 in cPesAssembler::Put (this=0x81eb160,
Data=0x8508c20 "\b\002\017\033²élUKE8v¢ã\233Zi\001\0173t\022SKS\2154©[pÕ\035t\030e\204\236yíB\017:jC.ãY+$¾\021²³C\222k\205µ¶©¨ÒÕ=Ò\230)¦Ü{A´ª\024V´g\030M¤\233YÁÅ(GYk|üf<\036cF-èâX\211å\232\230åN.\022º\004DeGá¢V\025!³^YÆÞz\0323t\022ʬê\222¥ãk0 ¡¡ÅU&tÍ´\233U\004Æ-Óø\001\022Ù®\225CY)È?\no\212\233ÜÔ\"ôL¬,ñS\fZ¹´fÆcè\213ö­T[Ý,ûSŪlZ\215³OR\214"..., Length=-72)
at device.c:104
#2 0x080979e0 in cDevice::PlayPes (this=0x847a260,
Data=0x8508c20 "\b\002\017\033²élUKE8v¢ã\233Zi\001\0173t\022SKS\2154©[pÕ\035t\030e\204\236yíB\017:jC.ãY+$¾\021²³C\222k\205µ¶©¨ÒÕ=Ò\230)¦Ü{A´ª\024V´g\030M¤\233YÁÅ(GYk|üf<\036cF-èâX\211å\232\230åN.\022º\004DeGá¢V\025!³^YÆÞz\0323t\022ʬê\222¥ãk0 ¡¡ÅU&tÍ´\233U\004Æ-Óø\001\022Ù®\225CY)È?\no\212\233ÜÔ\"ôL¬,ñS\fZ¹´fÆcè\213ö­T[Ý,ûSŪlZ\215³OR\214"..., Length=2534,
VideoOnly=true) at device.c:918
#3 0x080d5eaa in cPlayer::PlayPes (this=0x8507588,
Data=0x8508c20 "\b\002\017\033²élUKE8v¢ã\233Zi\001\0173t\022SKS\2154©[pÕ\035t\030e\204\236yíB\017:jC.ãY+$¾\021²³C\222k\205µ¶©¨ÒÕ=Ò\230)¦Ü{A´ª\024V´g\030M¤\233YÁÅ(GYk|üf<\036cF-èâX\211å\232\230åN.\022º\004DeGá¢V\025!³^YÆÞz\0323t\022ʬê\222¥ãk0 ¡¡ÅU&tÍ´\233U\004Æ-Óø\001\022Ù®\225CY)È?\no\212\233ÜÔ\"ôL¬,ñS\fZ¹´fÆcè\213ö­T[Ý,ûSŪlZ\215³OR\214"..., Length=2534,
VideoOnly=true) at player.c:29
#4 0x080a16ad in cDvbPlayer::Action (this=0x8507588) at dvbplayer.c:475
#5 0x08100258 in cThread::StartThread (Thread=0x8507594) at thread.c:227
#6 0x4003df83 in pthread_start_thread () from /lib/libpthread.so.0
#7 0x4024952a in clone () from /lib/libc.so.6


I'm using vanilla vdr 1.3.19 with a single DVB card.
I wasn't able to reproduce this (at least not with VDR 1.3.20, maybe you could
test again with that one).

BTW: please only _one_ topic per message.

Klaus
--- dvbdevice.c	2005/02/08 11:20:30	1.118
+++ dvbdevice.c	2005/02/08 14:07:16
@@ -768,8 +768,8 @@
                             );
 
   bool StartTransferMode = IsPrimaryDevice() && !IsEncrypted && !DoTune
-                           && (LiveView && HasPid(Channel->Vpid()) && pidHandles[ptVideo].pid != Channel->Vpid() // the PID is already set as DMX_PES_OTHER
-                              || !LiveView && pidHandles[ptVideo].pid == Channel->Vpid() // a recording is going to shift the PIDs from DMX_PES_AUDIO/VIDEO to DMX_PES_OTHER
+                           && (LiveView && HasPid(Channel->Vpid() ? Channel->Vpid() : Channel->Apid(0)) && (pidHandles[ptVideo].pid != Channel->Vpid() || pidHandles[ptAudio].pid != Channel->Apid(0))// the PID is already set as DMX_PES_OTHER
+                              || !LiveView && (pidHandles[ptVideo].pid == Channel->Vpid() || pidHandles[ptAudio].pid == Channel->Apid(0)) // a recording is going to shift the PIDs from DMX_PES_AUDIO/VIDEO to DMX_PES_OTHER
                               );
 
   bool TurnOnLivePIDs = HasDecoder() && !StartTransferMode

Home | Main Index | Thread Index