[vlc-devel] [PATCH] avformat: write VLC's version on the muxed streams
Steve Lhomme
robux4 at videolabs.io
Mon Aug 8 15:12:30 CEST 2016
---
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 879759b..e2df0f1 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -407,6 +407,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))) {
--
2.8.2
More information about the vlc-devel
mailing list