mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
mpdparser: added lang attribute to ProgramInformation node
This commit is contained in:
parent
94644fa82e
commit
779bf29879
2 changed files with 5 additions and 1 deletions
|
@ -1409,6 +1409,8 @@ gst_mpdparser_parse_program_info_node (GList ** list, xmlNode * a_node)
|
|||
*list = g_list_append (*list, new_prog_info);
|
||||
|
||||
GST_LOG ("attributes of ProgramInformation node:");
|
||||
new_prog_info->lang =
|
||||
gst_mpdparser_get_xml_prop_string (a_node, "lang");
|
||||
new_prog_info->moreInformationURL =
|
||||
gst_mpdparser_get_xml_prop_string (a_node, "moreInformationURL");
|
||||
|
||||
|
@ -1846,6 +1848,7 @@ static void
|
|||
gst_mpdparser_free_prog_info_node (GstProgramInformationNode * prog_info_node)
|
||||
{
|
||||
if (prog_info_node) {
|
||||
g_free (prog_info_node->lang);
|
||||
g_free (prog_info_node->moreInformationURL);
|
||||
g_free (prog_info_node->Title);
|
||||
g_free (prog_info_node->Source);
|
||||
|
|
|
@ -127,7 +127,7 @@ struct _GstSNode
|
|||
|
||||
struct _GstSegmentTimelineNode
|
||||
{
|
||||
/* list of S nodes (1..N) */
|
||||
/* list of S nodes */
|
||||
GList *S;
|
||||
};
|
||||
|
||||
|
@ -336,6 +336,7 @@ struct _GstPeriodNode
|
|||
|
||||
struct _GstProgramInformationNode
|
||||
{
|
||||
gchar *lang; /* LangVectorType RFC 5646 */
|
||||
gchar *moreInformationURL;
|
||||
/* children nodes */
|
||||
gchar *Title;
|
||||
|
|
Loading…
Reference in a new issue