mirror of https://github.com/mpv-player/mpv
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:
parent
cbbbf761c3
commit
6eaeaa734e
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue