ffserver: improve feedback in case of stream with unknown feed name
authorStefano Sabatini <stefasab@gmail.com>
Fri, 29 Nov 2013 10:37:40 +0000 (11:37 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 29 Nov 2013 11:11:28 +0000 (12:11 +0100)
ffserver.c

index 6ce09c4..46c08d2 100644 (file)
@@ -4321,7 +4321,7 @@ static int parse_ffconfig(const char *filename)
                     sfeed = sfeed->next_feed;
                 }
                 if (!sfeed)
-                    ERROR("feed '%s' not defined\n", arg);
+                    ERROR("Feed with name '%s' for stream '%s' is not defined\n", arg, stream->filename);
                 else
                     stream->feed = sfeed;
             }