Recording DVB-T HD infrance
Commit Message
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
===================================================================
RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/tools/ts.c,v
retrieving revision 1.21
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;
===================================================================
RCS file: /cvsroot/xineliboutput/vdr-xineliboutput/tools/ts.h,v
retrieving revision 1.13
78a79
> STREAM_AUDIO_EAC3 = 0x84,
83a85
> #define STREAM_DESCR_EAC3 0x7a