[libdvbpsi-devel] demux: refactor

Jean-Paul Saman git at videolan.org
Mon Jun 4 11:14:44 CEST 2012


libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Mon Jun  4 11:02:44 2012 +0200| [7beb890c236a7f434abb9e3455b3f8cbd4734fc3] | committer: Jean-Paul Saman

demux: refactor

Refactor common demux code structures into utility functions.
See the complete list below:
- rearrange arguments of dvbpsi_demux_new_cb_t callback
- define dvbpsi_demux_gather_cb_t callback type
- define dvbpsi_demux_detach_cb_t callback type
- new utility function dvbpsi_NewDemuxSubDecoder()
- new utility function dvbpsi_DeleteDemuxSubDecoder()
- new utility funciton dvbpsi_AttachDemuxSubDecoder()
- new utility function dvbpsi_DetachDemuxSubDecoder()

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=7beb890c236a7f434abb9e3455b3f8cbd4734fc3
---

 examples/decode_bat.c        |    4 +-
 examples/decode_sdt.c        |    4 +-
 examples/dvbinfo/libdvbpsi.c |    4 +-
 src/demux.c                  |   86 ++++++++++++++++++++++++++++++++-
 src/demux.h                  |  107 +++++++++++++++++++++++++++++++++++++-----
 5 files changed, 184 insertions(+), 21 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commitdiff;h=7beb890c236a7f434abb9e3455b3f8cbd4734fc3


More information about the libdvbpsi-devel mailing list