vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Nov 22 
10:16:51 2017 +0100| [c2f2689917d26daa65fd9c883429b4b9e8da778c] | committer: 
Francois Cartegnie

mux: mp4: fix hevc test

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

 modules/mux/mp4/libmp4mux.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 226b4f4a65..9cfb97699d 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -1931,8 +1931,11 @@ bool mp4mux_CanMux(vlc_object_t *p_obj, const 
es_format_t *p_fmt)
         break;
     case VLC_CODEC_HEVC:
         if(!p_fmt->i_extra && p_obj)
+        {
             msg_Err(p_obj, "HEVC muxing from AnnexB source is unsupported");
-        return false;
+            return false;
+        }
+        break;
     case VLC_CODEC_SUBT:
         if(p_obj)
             msg_Warn(p_obj, "subtitle track added like in .mov (even when 
creating .mp4)");

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to