Mercurial > mplayer.hg
changeset 19295:f6316aa3a7f2
conversion from stream_null to stream_tv was missing stream type
author | ben |
---|---|
date | Thu, 03 Aug 2006 19:12:31 +0000 |
parents | 6e6b33b0b57e |
children | 3583e8ff4da4 |
files | stream/stream.h stream/stream_tv.c |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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);