[vlc-commits] demux: fix video/MP2T content type probing

Francois Cartegnie git at videolan.org
Thu Mar 3 21:34:09 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar  3 21:30:12 2016 +0100| [51cbbae69f6e218b9bb63f2dc734fd49a8a25c0b] | committer: Francois Cartegnie

demux: fix video/MP2T content type probing

fixes probing delay when opening DTV

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51cbbae69f6e218b9bb63f2dc734fd49a8a25c0b
---

 src/input/demux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/demux.c b/src/input/demux.c
index 346b06b..303c0b8 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -61,9 +61,9 @@ static const char *demux_FromContentType(const char *mime)
         { "audio/mpeg",          "mp3"     },
         { "application/rss+xml", "podcast" },
         //{ "video/MP1S",          "es,mpgv" }, !b_force
+        { "video/dv",            "rawdv"   },
         { "video/MP2P",          "ps"      },
         { "video/MP2T",          "ts"      },
-        { "video/dv",            "rawdv"   },
         { "video/nsa",           "nsv"     },
         { "video/nsv",           "nsv"     },
     };



More information about the vlc-commits mailing list