aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpeg-pmt.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-31Dissectors don't need a journey of self discovery.Michael Mann1-5/+3
They already know who they are when they register themselves. Saving the handle then to avoid finding it later. Not sure if this will increase unnecessary register_dissector functions (instead of using create_dissector_handle in proto_reg_handoff function) when other dissectors copy/paste, but it should make startup time a few microseconds better. Change-Id: I3839be791b32b84887ac51a6a65fb5733e9f1f43 Reviewed-on: https://code.wireshark.org/review/19481 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-08-15Implement support for SCTE-35 switching messages.Ben Stewart1-0/+1
This module implements a dissector for the main table in a SCTE-35 message, a splice_info_section. This payload is carried in a MPEG Section Table with a table ID of 0xFC. PIDs carrying this sort of table are also noted in the PMT with a stream type of 0x86, and a registration descriptor with fourcc 'CUEI'. The various splice command types are implemented in separate modules, and are linked to this dissector through the field scte35.splice_command_type. Field names follow the conventions documented in the SCTE35 specification. This dissector does not support encrypted SCTE35 messages, other than indication through the scte35.encrypted_packet flag. The SCTE-35 protocol is described by the Society of Cable Telecommunications Engineers at <https://www.scte.org/documents/pdf/Standards/Top%20Ten/ANSI_SCTE%2035%202013.pdf>. Bug: 12521 Change-Id: I3113e6e61a4e7f1a4a932a0128ca2846c7ce6e6f Reviewed-on: https://code.wireshark.org/review/15562 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-08-11Add support for PMT parsing of ATSC A/52 Audio stream type and AC-3 descriptorDevin Heitmueller1-0/+1
The ATSC A/52 specification introduces a new PMT stream type, as well as a new descriptor if the A/52 stream contains AC-3 audio. Add dissection for both. Change-Id: I859c76cc4fc6550c72711f00582e6bfa12607fa2 Reviewed-on: https://code.wireshark.org/review/16679 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-1/+1
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-4/+1
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-07-19add H.265 stream typeMartin Kaiser1-0/+1
Change-Id: Ic8e17f949f245ad6fe26fb8078e0545fe5b35daa Reviewed-on: https://code.wireshark.org/review/3116 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-07-04convert to proto_tree_add_subtree[_format]Michael Mann1-3/+2
Change-Id: I621f2e2cad9403449cb78f45302388f0c874d3bc Reviewed-on: https://code.wireshark.org/review/2852 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-14Fix [-Wmissing-prototypes]Jakub Zawadzki1-0/+3
svn path=/trunk/; revision=54095
2013-11-28Move MPEG section table id defines to packet-mpeg-sect.hJakub Zawadzki1-2/+0
svn path=/trunk/; revision=53632
2013-11-12share the text description of service types between MPEG PMT and DVB-CIMartin Kaiser1-1/+1
svn path=/trunk/; revision=53289
2013-04-04use mpeg_pmt_stream_tree for the descriptor loopMartin Kaiser1-1/+1
(this fixes a bug from my last commit) svn path=/trunk/; revision=48737
2013-04-02use proto_mpeg_descriptor_loop_dissect() for the PMTMartin Kaiser1-8/+3
svn path=/trunk/; revision=48704
2013-03-14Change "4 space tabs" indentation to use "4 spaces" indentation.Bill Meier1-198/+199
Also: - remove some unneeded initializers; - remove several unneeded 'col_clear()' calls; - guint8 --> guint to prevent a possible overflow; - reformat for style in some cases. svn path=/trunk/; revision=48297
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-09-03unify the handling for all DVB/MPEG sectionsMartin Kaiser1-6/+4
don't initialize pointer where it's not required remove unnecessary 'if (tree)' checks svn path=/trunk/; revision=44762
2012-09-03add editor modelines (that match the current indentation style)Martin Kaiser1-0/+13
svn path=/trunk/; revision=44755
2012-08-05make mpeg_pmt a new-style dissectorMartin Kaiser1-10/+13
register it by name so that other protocols can call it more easily highlight only the bytes that actually belong to the pmt (the same changes as already applied to dvb-nit) svn path=/trunk/; revision=44274
2012-07-25Minor cleanup:Bill Meier1-13/+14
- Create/use extended value string to access value string array; - col_clear() not needed; - Remove some unneeded initializers. svn path=/trunk/; revision=44012
2012-03-22From Weston Schmidt:Anders Broman1-0/+2
Add support for ETV Data processing & simple MPEG DSM-CC handling. Witha a change of the name of dissect() in packet-etv.c to dissect-etv_common(). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6978 svn path=/trunk/; revision=41735
2012-03-16Make several functions static; remove trailing commas and white space.Jeff Morriss1-11/+10
svn path=/trunk/; revision=41606
2012-03-16From Guy Martin:Anders Broman1-0/+306
Add packet-mpeg-pmt, packet-mpeg-ca and mpeg-descriptors. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6960 svn path=/trunk/; revision=41600