Tracked sources can now be printed in the terminal
authorFrancoisGrondin <francois.grondin2@usherbrooke.ca>
Tue, 31 Oct 2017 13:48:29 +0000 (09:48 -0400)
committerFrancoisGrondin <francois.grondin2@usherbrooke.ca>
Tue, 31 Oct 2017 13:48:29 +0000 (09:48 -0400)
src/sink/snk_tracks.c

index fc3d8402afaa174d33e865255fad50425016713d..e8ef5e6888c9fbc76be47a6724d65ec842f7eec3 100644 (file)
@@ -17,7 +17,8 @@
 
         if (!(((obj->interface->type == interface_blackhole)  && (obj->format->type == format_undefined)) ||
               ((obj->interface->type == interface_file)  && (obj->format->type == format_text_json)) ||
-              ((obj->interface->type == interface_socket)  && (obj->format->type == format_text_json)))) {
+              ((obj->interface->type == interface_socket)  && (obj->format->type == format_text_json))) ||
+              ((obj->interface->type == interface_terminal) && (obj->format->type == format_text_json))) {
             
             printf("Sink tracks: Invalid interface and/or format.\n");
             exit(EXIT_FAILURE);