winks: set PrioritySubClass to KSPRIORITY_NORMAL instead of 1
authorOle André Vadla Ravnås <oravnas@cisco.com>
Tue, 20 Apr 2010 10:05:45 +0000 (12:05 +0200)
committerOle André Vadla Ravnås <oravnas@cisco.com>
Thu, 28 Oct 2010 15:08:41 +0000 (17:08 +0200)
In order to match the reference implementation.

sys/winks/ksvideohelpers.c

index 9e502d0..8399762 100644 (file)
@@ -637,7 +637,7 @@ ks_video_create_pin_conn_from_media_type (KsVideoMediaType * media_type)
   conn->PinId = media_type->pin_id;
   conn->PinToHandle = NULL;
   conn->Priority.PriorityClass = KSPRIORITY_NORMAL;
-  conn->Priority.PrioritySubClass = 1;
+  conn->Priority.PrioritySubClass = KSPRIORITY_NORMAL;
 
   format = (KSDATAFORMAT *) (conn + 1);
   memcpy (format, media_type->range, sizeof (KSDATAFORMAT));