summaryrefslogtreecommitdiff
path: root/asn1/h245/h245.cnf
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-05-27 18:22:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-05-27 18:22:39 +0000
commitb6b645feb385d91e97391e8f4be5dabe91b0a4f8 (patch)
tree5ec54b97039d4978c9975e3427f9ba374109910b /asn1/h245/h245.cnf
parent2c917c9f4300cc3c4d1e0847afdeea49fefc81e9 (diff)
downloadwireshark-b6b645feb385d91e97391e8f4be5dabe91b0a4f8.tar.gz
Detect if the setup channel is video or not.
svn path=/trunk/; revision=28509
Diffstat (limited to 'asn1/h245/h245.cnf')
-rw-r--r--asn1/h245/h245.cnf13
1 files changed, 13 insertions, 0 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index 8d8038b862..d92725bee0 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -995,6 +995,19 @@ NonStandardIdentifier/h221NonStandard/manufacturerCode VAL_PTR = &manufacturerC
h245_pi = saved_h245_pi;
}
+#.FN_BODY DataType VAL_PTR = &choice_index
+gint choice_index;
+
+%(DEFAULT_BODY)s
+
+if (upcoming_channel){
+ if (choice_index==2){
+ upcoming_channel->is_video=TRUE;
+ }else{
+ upcoming_channel->is_video=FALSE;
+ }
+}
+
#----------------------------------------------------------------------------------------
#.TYPE_RENAME