From patchwork Tue Mar 23 01:24:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jose Alberto Reguero X-Patchwork-Id: 12795 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.69) (envelope-from ) id 1Ntsr7-0005yE-Cm for vdr@linuxtv.org; Tue, 23 Mar 2010 02:24:34 +0100 X-tubIT-Incoming-IP: 213.4.138.1 Received: from impaqm1.telefonica.net ([213.4.138.1]) by mail.tu-berlin.de (exim-4.69/mailfrontend-a) with esmtp for id 1Ntsr6-0001fW-Qo; Tue, 23 Mar 2010 02:24:29 +0100 Received: from IMPmailhost4.adm.correo ([10.20.102.125]) by IMPaqm1.telefonica.net with bizsmtp id wKGP1d00P2iL0W201RQT6U; Tue, 23 Mar 2010 02:24:27 +0100 Received: from jar.dominio ([80.25.230.35]) by IMPmailhost4.adm.correo with BIZ IMP id wRQS1d00B0mULeg1kRQS6G; Tue, 23 Mar 2010 02:24:27 +0100 X-TE-authinfo: authemail="jareguero$telefonica.net" |auth_email="jareguero@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" From: Jose Alberto Reguero To: eric.valette@free.fr, VDR Mailing List Date: Tue, 23 Mar 2010 02:24:25 +0100 User-Agent: KMail/1.13.1 (Linux/2.6.32.9-70.fc12.x86_64; KDE/4.4.1; x86_64; ; ) References: <4B9E9342.2010904@free.fr> <4BA1568E.8040807@tvdr.de> <4BA1580A.7060801@free.fr> In-Reply-To: <4BA1580A.7060801@free.fr> MIME-Version: 1.0 Message-Id: <201003230224.26177.jareguero@telefonica.net> X-tubIT-Score: 0.0 () X-PMX-Version: 5.5.4.371499, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2010.3.23.11823 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MIME_TEXT_ONLY_MP_MIXED 0.05, BODY_SIZE_10000_PLUS 0, TO_NO_NAME 0, WEBMAIL_RCVD 0, WEBMAIL_SOURCE 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __USER_AGENT 0' X-LSpam-Score: -3.2 (---) X-LSpam-Report: No, score=-3.2 required=5.0 tests=AWL=0.360, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1 autolearn=ham Subject: Re: [vdr] Recording DVB-T HD infrance X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 01:24:34 -0000 Status: O X-Status: X-Keywords: X-UID: 22638 El Miércoles, 17 de Marzo de 2010, Eric Valette escribió: > >> Still wonder why such a one liner patch is not integrated though. > > > > That forum is in French and apparently requires registration. > > > > Can you post that "one-liner" here? > > I just translate the instruction, into english (could do german too ;-)) > Could do a diff but for one trivial line no need for it. > > Just add the following line in pat.c > > case SI::AC3DescriptorTag: > + case SI::EnhancedAC3DescriptorTag: > dpid = stream.getPid(); > > > > I think for streamdev the same patch is required in > livestreamer.c > > case SI::AC3DescriptorTag: > + case SI::EnhancedAC3DescriptorTag: > Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n", > > -- eric > > > I make a patch to use ffmpeg eac3 with xine. The patch is for the latest xine- lib-1.2 hg. If you use xineliboutput you also need the second patch attached. Jose Alberto Index: tools/ts.c =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/tools/ts.c,v retrieving revision 1.21 diff -r1.21 ts.c 383c383 < if ((stream[i] == STREAM_DESCR_AC3) && (pmt->audio_tracks_count < TS_MAX_AUDIO_TRACKS)) { --- > if (((stream[i] == STREAM_DESCR_AC3) || (stream[i] == STREAM_DESCR_EAC3)) && (pmt->audio_tracks_count < TS_MAX_AUDIO_TRACKS)) { 387c387,390 < pmt->audio_tracks[pmt->audio_tracks_count].type = STREAM_AUDIO_AC3; --- > if (stream[i] == STREAM_DESCR_AC3) > pmt->audio_tracks[pmt->audio_tracks_count].type = STREAM_AUDIO_AC3; > else > pmt->audio_tracks[pmt->audio_tracks_count].type = STREAM_AUDIO_EAC3; Index: tools/ts.h =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/tools/ts.h,v retrieving revision 1.13 diff -r1.13 ts.h 78a79 > STREAM_AUDIO_EAC3 = 0x84, 83a85 > #define STREAM_DESCR_EAC3 0x7a