Mercurial > mplayer.hg
comparison mplayer.c @ 9006:d00997f12257
extension-based filetype detection for headerless files (mp3 vs mpeg, etc)
inspired by patch by Fabian Franz <FabianFranz@gmx.de>
author | arpi |
---|---|
date | Sun, 19 Jan 2003 00:21:54 +0000 |
parents | c428933c7e54 |
children | 417a20a4fc75 |
comparison
equal
deleted
inserted
replaced
9005:ebc368360ea2 | 9006:d00997f12257 |
---|---|
1225 | 1225 |
1226 //============ Open DEMUXERS --- DETECT file type ======================= | 1226 //============ Open DEMUXERS --- DETECT file type ======================= |
1227 | 1227 |
1228 current_module="demux_open"; | 1228 current_module="demux_open"; |
1229 | 1229 |
1230 demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id); | 1230 demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id,filename); |
1231 | 1231 |
1232 // HACK to get MOV Reference Files working | 1232 // HACK to get MOV Reference Files working |
1233 | 1233 |
1234 if (demuxer && demuxer->type==DEMUXER_TYPE_PLAYLIST) | 1234 if (demuxer && demuxer->type==DEMUXER_TYPE_PLAYLIST) |
1235 { | 1235 { |