Mailing List archive

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

[vdr] Re: thanks for channelsradio.conf, but...




> http://www.linuxtv.org/mailinglists/vdr/2001/10-2001/msg00230.html
> 
> this is patch: (is the patch still applicable??) ...i have not testet!!

sorry, I forgott:

here is the new patch but for a already with 0.99pre4-AIO patched version...

--------------------------remux.diff--------------------------------------------

--- remux.c	Sun Aug 19 13:52:05 2001
+++ remux.c.patched	Sun Feb  3 02:03:05 2002
@@ -548,12 +548,14 @@
       }
   Count = used;
 
-/*XXX
-  // test recording without determining the real frame borders:
-  *PictureType = I_FRAME;
-  Result = resultDelivered = resultCount;
-  return Result ? resultBuffer : NULL;
-XXX*/
+  /********* PATCH for recording radio stations **********/ 
+  if (vPid == 0x1FFF)                                       
+  {                                                         
+     *PictureType = I_FRAME;                                
+     Result = resultDelivered = resultCount;                
+     return Result ? resultBuffer : NULL;                   
+  }                                                         
+  /********* Radio station recording patch END  **********/ 
 
   // Check if we're getting anywhere here:
 
------------------------------------------------------------------------------------
--

    _    _
   (o)--(o)     
  /.______.\    
  \________/    
 ./        \.  
( .        , )  
 \ \_\\//_/ /   
  ~~  ~~  ~~    
(see it with monospaced font)


 Uwe Weissbach, Leipzig

mail:   uwe.weissbach@web.de
pgp:    send mail with "pgp-request" in subject

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CC/IT d- s+:- a C++(+++) UL++> P 
L+> E- W+++ N+ o-- K- w O- M !V-- PS+ 
PE+ Y+ PGP++ t+ 5@ X? R tv- b++(+++) 
DI-? D---- G++ e* h---- r- y++ 
------END GEEK CODE BLOCK------





Home | Main Index | Thread Index