[MPlayer-cvslog] r19301 - in trunk/stream: stream.h stream_tv.c

ben subversion at mplayerhq.hu
Thu Aug 3 21:12:32 CEST 2006


Author: ben
Date: Thu Aug  3 21:12:31 2006
New Revision: 19301

Modified:
   trunk/stream/stream.h
   trunk/stream/stream_tv.c

Log:
conversion from stream_null to stream_tv was missing stream type

Modified: trunk/stream/stream.h
==============================================================================
--- trunk/stream/stream.h	(original)
+++ trunk/stream/stream.h	Thu Aug  3 21:12:31 2006
@@ -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
 

Modified: trunk/stream/stream_tv.c
==============================================================================
--- trunk/stream/stream_tv.c	(original)
+++ trunk/stream/stream_tv.c	Thu Aug  3 21:12:31 2006
@@ -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);



More information about the MPlayer-cvslog mailing list