[vlc-commits] avformat: write VLC's version on the muxed streams

Steve Lhomme git at videolan.org
Mon Aug 8 19:31:28 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Aug  8 15:12:30 2016 +0200| [fe54235734a6c19a2a53b75930de43ec9449854f] | committer: Jean-Baptiste Kempf

avformat: write VLC's version on the muxed streams

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/avformat/mux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index b5ff838..efe9b9d 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -382,6 +382,7 @@ static int Mux( sout_mux_t *p_mux )
             options = vlc_av_get_options(psz_opts);
             free(psz_opts);
         }
+        av_dict_set( &p_sys->oc->metadata, "encoding_tool", "VLC "VERSION, 0 );
         error = avformat_write_header( p_sys->oc, options ? &options : NULL);
         AVDictionaryEntry *t = NULL;
         while ((t = av_dict_get(options, "", t, AV_DICT_IGNORE_SUFFIX))) {



More information about the vlc-commits mailing list