mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
Fix mov reference files: for video/quicktime mime do not force a demuxer
but do autodetection. This tries lavf first but will also try native demuxer for reference files where open fails for the lavf demuxer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30663 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1bb4898483
commit
bb54613ac1
@ -71,7 +71,11 @@ const mime_struct_t mime_type_table[] = {
|
||||
#ifdef CONFIG_LIBAVFORMAT
|
||||
// Flash Video
|
||||
{ "video/x-flv", DEMUXER_TYPE_LAVF_PREFERRED},
|
||||
{ "video/quicktime", DEMUXER_TYPE_LAVF_PREFERRED },
|
||||
// do not force any demuxer in this case!
|
||||
// we want the lavf demuxer to be tried first (happens automatically anyway),
|
||||
// but for mov reference files to work we must also try
|
||||
// the native demuxer if lavf fails.
|
||||
{ "video/quicktime", 0 },
|
||||
#endif
|
||||
// MP3 streaming, some MP3 streaming server answer with audio/mpeg
|
||||
{ "audio/mpeg", DEMUXER_TYPE_AUDIO },
|
||||
|
Loading…
Reference in New Issue
Block a user