[vlc-commits] demux: hevc: add .hevc extension

Francois Cartegnie git at videolan.org
Fri Jan 15 16:26:56 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 13 17:49:11 2016 +0100| [bc2c083d7de3ccefa1de9cebd3d5bbdf527d7151] | committer: Francois Cartegnie

demux: hevc: add .hevc extension

used by ffmpeg

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

 modules/demux/mpeg/h26x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/h26x.c b/modules/demux/mpeg/h26x.c
index 7899555..28654c9 100644
--- a/modules/demux/mpeg/h26x.c
+++ b/modules/demux/mpeg/h26x.c
@@ -378,7 +378,7 @@ static int OpenH264( vlc_object_t * p_this )
 static int OpenHEVC( vlc_object_t * p_this )
 {
     hevc_probe_ctx_t ctx = { 0, 0, 0 };
-    const char *rgi_psz_ext[] = { ".h265", ".265", ".bin", ".bit", ".raw", NULL };
+    const char *rgi_psz_ext[] = { ".h265", ".265", ".hevc", ".bin", ".bit", ".raw", NULL };
     const char *rgi_psz_mime[] = { "video/h265", "video/hevc", "video/HEVC", NULL };
 
     return GenericOpen( (demux_t*)p_this, "hevc", VLC_CODEC_HEVC, ProbeHEVC,



More information about the vlc-commits mailing list