# HG changeset patch # User ben # Date 1154632351 0 # Node ID f6316aa3a7f28cfbfe747f62b6a2b2fe0576341e # Parent 6e6b33b0b57e34fe23e239d606f1fe1267af589d conversion from stream_null to stream_tv was missing stream type diff -r 6e6b33b0b57e -r f6316aa3a7f2 stream/stream.h --- a/stream/stream.h Thu Aug 03 18:59:37 2006 +0000 +++ b/stream/stream.h Thu Aug 03 19:12:31 2006 +0000 @@ -22,6 +22,7 @@ #define STREAMTYPE_VSTREAM 14 #define STREAMTYPE_SDP 15 #define STREAMTYPE_PVR 16 +#define STREAMTYPE_TV 17 #define STREAM_BUFFER_SIZE 2048 diff -r 6e6b33b0b57e -r f6316aa3a7f2 stream/stream_tv.c --- a/stream/stream_tv.c Thu Aug 03 18:59:37 2006 +0000 +++ b/stream/stream_tv.c Thu Aug 03 19:12:31 2006 +0000 @@ -30,6 +30,7 @@ { 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);