no need to patch libdvb for analogtv
Commit Message
Hi Andreas!
I found out that there is no need to patch libdvb to be able to use analogtv.
The function get_pes with parameter pes_in_ts can be replaced by the function
kpes_to_ts resulting in exactly the same code be executed. The patch also
applies to current cvs.
Greetings
Matthias
@@ -28,7 +28,6 @@
#include <sys/soundcard.h>
#include <transform.h>
-extern void pes_in_ts(p2p *p);
#undef MIN
#undef MAX
@@ -828,7 +827,7 @@
pes++;
spes += r;
- get_pes(buffer, r, &p2t, pes_in_ts); // PES -> TS
+ kpes_to_ts(&p2t, buffer, r);
}
}
}
@@ -937,7 +936,7 @@
spes += r;
if (r > 0)
- get_pes(buffer, r, &p2t, pes_in_ts); // PES -> TS
+ kpes_to_ts(&p2t, buffer, r); // PES -> TS
}
}