From 4216003f26b62b112fbe22faefbd0b7fc68a7789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Thu, 27 May 2010 17:51:24 +0000 Subject: [PATCH] Add SM_CODE_NO_TRANSPORT error code --- src/streaming.c | 2 ++ src/tvhead.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/streaming.c b/src/streaming.c index 443db958..62c06a87 100644 --- a/src/streaming.c +++ b/src/streaming.c @@ -325,6 +325,8 @@ streaming_code2txt(int code) return "Too bad signal quality"; case SM_CODE_NO_SOURCE: return "No source available"; + case SM_CODE_NO_TRANSPORT: + return "No transport assigned to channel"; case SM_CODE_ABORTED: return "Aborted by user"; diff --git a/src/tvhead.h b/src/tvhead.h index 07b7f263..0561bed4 100644 --- a/src/tvhead.h +++ b/src/tvhead.h @@ -258,6 +258,7 @@ typedef enum { #define SM_CODE_SVC_NOT_ENABLED 204 #define SM_CODE_BAD_SIGNAL 205 #define SM_CODE_NO_SOURCE 206 +#define SM_CODE_NO_TRANSPORT 207 #define SM_CODE_ABORTED 300