conversion from stream_null to stream_tv was missing stream type

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19301 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben committed 2006-08-03 19:12:31 +00:00
1 parent cbbbf761c3
commit 6eaeaa734e
2 files changed
+2

No files matched your search

+1
View File
@@ -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
+1
View File
@@ -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);