changeset 19088:1c2939bf2b2b

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
author nicodvb
date Fri, 14 Jul 2006 22:29:37 +0000
parents 065a39365840
children a4b50a45007c
files libmpdemux/dvbin.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/dvbin.c	Fri Jul 14 22:07:17 2006 +0000
+++ b/libmpdemux/dvbin.c	Fri Jul 14 22:29:37 2006 +0000
@@ -772,6 +772,8 @@
 	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;
 }