This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: wip
Author:  Laurent Pinchart <[email protected]>
Date:    Thu Aug 1 00:58:52 2013 +0200


 utils/media-ctl/media-ctl.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=83d0df45745873f856c8a63bf4a86fec70559fca

diff --git a/utils/media-ctl/media-ctl.c b/utils/media-ctl/media-ctl.c
index 1996d99..36be7a5 100644
--- a/utils/media-ctl/media-ctl.c
+++ b/utils/media-ctl/media-ctl.c
@@ -353,6 +353,7 @@ static void media_print_topology_dot(struct media_device 
*media)
                        break;
 
                case MEDIA_ENT_T_V4L2_SUBDEV:
+               default:
                        printf("\tn%08x [label=\"{{", info->id);
 
                        for (j = 0, npads = 0; j < info->pads; ++j) {
@@ -380,11 +381,10 @@ static void media_print_topology_dot(struct media_device 
*media)
                                npads++;
                        }
 
-                       printf("}}\", shape=Mrecord, style=filled, 
fillcolor=green]\n");
+                       printf("}}\", shape=Mrecord, style=filled, 
fillcolor=%s]\n",
+                               media_entity_type(entity) == 
MEDIA_ENT_T_V4L2_SUBDEV
+                               ? "green" : "blue");
                        break;
-
-               default:
-                       continue;
                }
 
                for (j = 0; j < num_links; j++) {

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to