Wireshark-bugs: [Wireshark-bugs] [Bug 4167] Add "trick mode" to MPEG PES protocol

Date: Mon, 26 Oct 2009 22:29:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4167


Anders Broman <anders.broman@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anders.broman@xxxxxxxxxxxx




--- Comment #1 from Anders Broman <anders.broman@xxxxxxxxxxxx>  2009-10-26 22:29:28 PDT ---
Hi,
This dissector is auto generated see the commenty at the start of the file
/* Do not modify this file.                                                  
*/
/* It is created automatically by the ASN.1 to Wireshark dissector compiler  
*/
/* packet-mpeg-pes.c                                                         
*/

You need to do the changes in the template and .cnf files
(http://wiki.wireshark.org/Asn2wrs) 

No C++ style comments
+               // Trick mode ends

Follow the style in the template file
                { &hf_mpeg_video_data,
                        { "MPEG picture data", "mpeg-video.data",
                                FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},


+               { &hf_mpeg_pes_dsm_trick_mode_rep_cntrl,
+                       { "rep cntrl",
+                               "mpeg-pes.trick-mode-rep-cntrl",
+                               FT_UINT8,
+                               BASE_HEX,
+                               NULL,
+                               0,
+                               "mpeg_pes trick mode rep cntrl",
+                               HFILL }},


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.