diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-18 20:02:40 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-18 20:02:40 +0000 |
commit | f7a7af313d41f89bbdee83699cd88eec2edec13d (patch) | |
tree | f8621226e585c3b5c3fc47ff753f4bd0384763ff /plugins/mate/mate_setup.c | |
parent | 99f52419d522a49b737200b6e910976e9d6b2e44 (diff) | |
download | wireshark-f7a7af313d41f89bbdee83699cd88eec2edec13d.tar.gz |
Add a pointer to the start frame of each gop in the gog's tree
svn path=/trunk/; revision=13423
Diffstat (limited to 'plugins/mate/mate_setup.c')
-rw-r--r-- | plugins/mate/mate_setup.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/mate/mate_setup.c b/plugins/mate/mate_setup.c index 4b8ad3504a..08e34e1406 100644 --- a/plugins/mate/mate_setup.c +++ b/plugins/mate/mate_setup.c @@ -159,7 +159,9 @@ static mate_cfg_item* new_mate_cfg_item(guint8* name) { new->lifetime = -1.0; new->hfid_gop_pdu = -1; new->hfid_gop_num_pdus = -1; - + new->ett_gog_gop = -1; + new->hfid_gog_gopstart = -1; + new->gop_index = NULL; new->gog_index = NULL; @@ -1406,6 +1408,15 @@ static void analyze_gog_config(gpointer k _U_, gpointer v, gpointer p _U_) { g_array_append_val(matecfg->hfrs,hfri); + hfri.p_id = &(cfg->hfid_gog_gopstart); + hfri.hfinfo.name = "GopStart frame"; + hfri.hfinfo.abbrev = g_strdup_printf("mate.%s.GopStart",cfg->name); + hfri.hfinfo.type = FT_FRAMENUM; + hfri.hfinfo.display = BASE_DEC; + hfri.hfinfo.blurb = g_strdup("The start frame of a GOP"); + + g_array_append_val(matecfg->hfrs,hfri); + hfri.p_id = &(cfg->hfid_start_time); hfri.hfinfo.name = g_strdup_printf("%s start time",cfg->name); hfri.hfinfo.abbrev = g_strdup_printf("mate.%s.StartTime",cfg->name); @@ -1467,6 +1478,9 @@ static void analyze_gog_config(gpointer k _U_, gpointer v, gpointer p _U_) { ett = &cfg->ett_times; g_array_append_val(matecfg->ett,ett); + ett = &cfg->ett_gog_gop; + g_array_append_val(matecfg->ett,ett); + } static void analyze_config(void) { |