mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +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:
parent
33dd581c58
commit
3a07b942ee
@ -772,6 +772,8 @@ static int dvb_open(stream_t *stream, int mode, void *opts, int *file_format)
|
||||
stream->fill_buffer = dvb_streaming_read;
|
||||
stream->close = dvbin_close;
|
||||
m_struct_free(&stream_opts, opts);
|
||||
|
||||
*file_format = DEMUXER_TYPE_MPEG_TS;
|
||||
|
||||
return STREAM_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user