summaryrefslogtreecommitdiffstats
path: root/stream/stream_tv.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_tv.c')
-rw-r--r--stream/stream_tv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_tv.c b/stream/stream_tv.c
index 9ffaf08bf2..8275c630c9 100644
--- a/stream/stream_tv.c
+++ b/stream/stream_tv.c
@@ -30,6 +30,7 @@ tv_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
{
extern char* tv_param_channel;
+ stream->type = STREAMTYPE_TV;
*file_format = DEMUXER_TYPE_TV;
if (strlen (stream->url) > 5 && stream->url[5] != '\0')
tv_param_channel = strdup (stream->url + 5);