diff options
author | Andreas Frisch <afrisch@make.tv> | 2020-06-30 13:40:28 +0200 |
---|---|---|
committer | Andreas Frisch <gnome-bugzilla@dreambox.guru> | 2020-07-08 13:37:12 +0000 |
commit | 0e075b4dbf93a5abedcd58bd2fe5d150ffabe38b (patch) | |
tree | 3950250d9d202ce9e34256377870859555bd0b44 /gst | |
parent | 46cc64e09f16b8fecffc99969c9f4591df1bd61d (diff) | |
download | gstreamer-plugins-bad-0e075b4dbf93a5abedcd58bd2fe5d150ffabe38b.tar.gz |
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>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegtsmux/tsmux/tsmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 1da5cb4a4..10976c796 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; |