summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-14 22:29:37 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-14 22:29:37 +0000
commit3a07b942ee9a11c5c5bbc602f58af2bd8daa870e (patch)
treefa036337aaa30d208d695cb93a341c4da26eb3ac /libmpdemux
parent33dd581c58b217aa864947b4d69a395789c43cd7 (diff)
downloadmpv-3a07b942ee9a11c5c5bbc602f58af2bd8daa870e.tar.bz2
mpv-3a07b942ee9a11c5c5bbc602f58af2bd8daa870e.tar.xz
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/dvbin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/dvbin.c b/libmpdemux/dvbin.c
index 7ba9c84f22..5ac54ab776 100644
--- a/libmpdemux/dvbin.c
+++ b/libmpdemux/dvbin.c
@@ -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;
}