mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1386>
This commit is contained in:
parent
46cc64e09f
commit
0e075b4dbf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue