diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-10 23:55:53 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-10 23:59:37 +0100 |
commit | becbe7f8ef61f51ccbbb228f248b85b02e1eeab9 (patch) | |
tree | 76a43cbe4bd84835bdad413bc6661decb9c0aecf /src/backend/bacon-video-widget.c | |
parent | a0101b32ea373f04214b388de9041df298de6a52 (diff) | |
download | totem-becbe7f8ef61f51ccbbb228f248b85b02e1eeab9.tar.gz |
backend: Export subtitle/lang track titles
Diffstat (limited to 'src/backend/bacon-video-widget.c')
-rw-r--r-- | src/backend/bacon-video-widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c index 08bbab0ce..e85e6e119 100644 --- a/src/backend/bacon-video-widget.c +++ b/src/backend/bacon-video-widget.c @@ -2775,6 +2775,7 @@ get_lang_list_for_type (BaconVideoWidget * bvw, const gchar * type_name) if (tags) { gst_tag_list_get_string (tags, GST_TAG_LANGUAGE_CODE, &info->language); + gst_tag_list_get_string (tags, GST_TAG_TITLE, &info->title); if (g_str_equal (type_name, "AUDIO")) gst_tag_list_get_string (tags, GST_TAG_AUDIO_CODEC, &info->codec); @@ -2800,6 +2801,7 @@ bacon_video_widget_lang_info_free (BvwLangInfo *info) { if (info == NULL) return; + g_free (info->title); g_free (info->language); g_free (info->codec); g_free (info); |