From 0e075b4dbf93a5abedcd58bd2fe5d150ffabe38b Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Tue, 30 Jun 2020 13:40:28 +0200 Subject: [PATCH] mpegtsmux: Don't assume English for ISO-639 language descriptor Previously, "en" (should have actually been "eng") was assumed for the ISO-639 language descriptor if no language was explicitely given. Neither ETSI EN 300 468 nor ATSC A/52 mandate for a language descriptor, so we should simply not set it, if it's unknown. Part-of: --- gst/mpegtsmux/tsmux/tsmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 1da5cb4a4c..10976c796a 100644 --- a/gst/mpegtsmux/tsmux/tsmux.c +++ b/gst/mpegtsmux/tsmux/tsmux.c @@ -709,7 +709,7 @@ tsmux_create_stream (TsMux * mux, guint stream_type, guint16 pid, strncpy (stream->language, language, 4); stream->language[3] = 0; } else { - strcpy (stream->language, "eng"); + stream->language[0] = 0; } return stream;