mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegtsmux: effectively check if there is a language
'language' is an array and not a pointer. CID 1358835
This commit is contained in:
parent
7acb1a35cb
commit
1b1beded51
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ tsmux_stream_get_es_descrs (TsMuxStream * stream,
|
|||
g_return_if_fail (stream != NULL);
|
||||
g_return_if_fail (pmt_stream != NULL);
|
||||
|
||||
if (stream->is_audio && stream->language) {
|
||||
if (stream->is_audio && stream->language[0] != '\0') {
|
||||
descriptor = gst_mpegts_descriptor_from_iso_639_language (stream->language);
|
||||
g_ptr_array_add (pmt_stream->descriptors, descriptor);
|
||||
descriptor = NULL;
|
||||
|
|
Loading…
Reference in a new issue