mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +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);
|
*list = g_list_append (*list, new_prog_info);
|
||||||
|
|
||||||
GST_LOG ("attributes of ProgramInformation node:");
|
GST_LOG ("attributes of ProgramInformation node:");
|
||||||
|
new_prog_info->lang =
|
||||||
|
gst_mpdparser_get_xml_prop_string (a_node, "lang");
|
||||||
new_prog_info->moreInformationURL =
|
new_prog_info->moreInformationURL =
|
||||||
gst_mpdparser_get_xml_prop_string (a_node, "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)
|
gst_mpdparser_free_prog_info_node (GstProgramInformationNode * prog_info_node)
|
||||||
{
|
{
|
||||||
if (prog_info_node) {
|
if (prog_info_node) {
|
||||||
|
g_free (prog_info_node->lang);
|
||||||
g_free (prog_info_node->moreInformationURL);
|
g_free (prog_info_node->moreInformationURL);
|
||||||
g_free (prog_info_node->Title);
|
g_free (prog_info_node->Title);
|
||||||
g_free (prog_info_node->Source);
|
g_free (prog_info_node->Source);
|
||||||
|
|
|
@ -127,7 +127,7 @@ struct _GstSNode
|
||||||
|
|
||||||
struct _GstSegmentTimelineNode
|
struct _GstSegmentTimelineNode
|
||||||
{
|
{
|
||||||
/* list of S nodes (1..N) */
|
/* list of S nodes */
|
||||||
GList *S;
|
GList *S;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -336,6 +336,7 @@ struct _GstPeriodNode
|
||||||
|
|
||||||
struct _GstProgramInformationNode
|
struct _GstProgramInformationNode
|
||||||
{
|
{
|
||||||
|
gchar *lang; /* LangVectorType RFC 5646 */
|
||||||
gchar *moreInformationURL;
|
gchar *moreInformationURL;
|
||||||
/* children nodes */
|
/* children nodes */
|
||||||
gchar *Title;
|
gchar *Title;
|
||||||
|
|
Loading…
Reference in a new issue