1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

force demuxer type to mpegts to speed up detection and avoid useless and slow probes; this doesn't prevent to use stream_dvb with demux_lavf

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19093 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-07-14 22:29:37 +00:00
parent 33dd581c58
commit 3a07b942ee

View File

@ -773,6 +773,8 @@ static int dvb_open(stream_t *stream, int mode, void *opts, int *file_format)
stream->close = dvbin_close;
m_struct_free(&stream_opts, opts);
*file_format = DEMUXER_TYPE_MPEG_TS;
return STREAM_OK;
}