From patchwork Mon Jun 14 00:06:20 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: 12821 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.69) (envelope-from ) id 1OO5Ur-0001ch-Rp for vdr@linuxtv.org; Mon, 14 Jun 2010 10:58:23 +0200 X-tubIT-Incoming-IP: 213.4.138.3 Received: from impaqm3.telefonica.net ([213.4.138.3]) by mail.tu-berlin.de (exim-4.69/mailfrontend-c) with esmtp for id 1OO5Uq-0000Hs-6A; Mon, 14 Jun 2010 10:58:21 +0200 Received: from IMPmailhost3.adm.correo ([10.20.102.124]) by IMPaqm3.telefonica.net with bizsmtp id VbzJ1e0192h2L9m3Pc6MJ9; Mon, 14 Jun 2010 02:06:21 +0200 Received: from jar.dominio ([80.25.230.35]) by IMPmailhost3.adm.correo with BIZ IMP id Vc6M1e0030mULeg1jc6MsB; Mon, 14 Jun 2010 02:06:21 +0200 X-TE-authinfo: authemail="jareguero$telefonica.net" |auth_email="jareguero@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" From: Jose Alberto Reguero To: VDR Mailing List Date: Mon, 14 Jun 2010 02:06:20 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.34; KDE/4.4.3; x86_64; ; ) References: <4BAA4EBA.4030406@free.fr> <201003251608.20823.jareguero@telefonica.net> <4C14FD8F.2070508@ventoso.org> In-Reply-To: <4C14FD8F.2070508@ventoso.org> MIME-Version: 1.0 Message-Id: <201006140206.20525.jareguero@telefonica.net> X-tubIT-Score: 0.0 () X-PMX-Version: 5.5.4.371499, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2010.6.14.84814 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MIME_TEXT_ONLY_MP_MIXED 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_NAME_PHRASE 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, __INT_PROD_TV 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __USER_AGENT 0' X-LSpam-Score: -3.4 (---) X-LSpam-Report: No, score=-3.4 required=5.0 tests=AWL=0.231, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1 autolearn=ham Subject: Re: [vdr] vdr xine-lib eac3 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: Mon, 14 Jun 2010 08:58:23 -0000 Status: O X-Status: X-Keywords: X-UID: 23045 El Domingo, 13 de Junio de 2010, Luca Olivetti escribió: > Al 25/03/10 16:08, En/na Jose Alberto Reguero ha escrit: > > Patch for xine-lib that don't need to patch remux.c to work. > > Today I applied this patch (strange it isn't in xine-lib-1.2 yet) but > there's still no sound on tvehd (vdr 1.7.15, vdr-xine and playing the ts > directly through xine). > Do I need some special options to configure xine-lib for this patch to > take effect? > > Bye I use the latest xine-lib hg without patches and xineliboutput with the attached patch. Live TV are ok, but the recordings have drop outs. vdr-xine don't work with eac3. Jose Alberto Index: xine/ts2es.c =================================================================== RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/xine/ts2es.c,v retrieving revision 1.12 diff -r1.12 ts2es.c 33a34 > int numpreview; 165,169c166,181 < < this->buf->decoder_flags |= BUF_FLAG_FRAME_END; < < result = this->buf; < this->buf = NULL; --- > if (!this->video) { > if (this->numpreview<5) > this->numpreview++; > if (this->numpreview == 1) > this->buf->decoder_flags = BUF_FLAG_HEADER | BUF_FLAG_FRAME_END; > else if (this->numpreview < 5) > this->buf->decoder_flags = BUF_FLAG_PREVIEW; > else > this->buf->decoder_flags |= BUF_FLAG_FRAME_END; > result = this->buf; > this->buf = NULL; > } else { > this->buf->decoder_flags |= BUF_FLAG_FRAME_END; > result = this->buf; > this->buf = NULL; > } 177d188 < 313a325,326 > data->numpreview=0; >