Commit 0e075b4d authored by Andreas Frisch's avatar Andreas Frisch Committed by Andreas Frisch

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: <gstreamer/gst-plugins-bad!1386>
parent 46cc64e0
Pipeline #173637 waiting for manual action with stages
in 46 seconds
...@@ -709,7 +709,7 @@ tsmux_create_stream (TsMux * mux, guint stream_type, guint16 pid, ...@@ -709,7 +709,7 @@ tsmux_create_stream (TsMux * mux, guint stream_type, guint16 pid,
strncpy (stream->language, language, 4); strncpy (stream->language, language, 4);
stream->language[3] = 0; stream->language[3] = 0;
} else { } else {
strcpy (stream->language, "eng"); stream->language[0] = 0;
} }
return stream; return stream;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment