<div dir="ltr">case GST_MESSAGE_ELEMENT:<br>    s = gst_message_get_structure (msg); <br> if (gst_structure_has_name(s, "GstMultiFileSink"))<br>    {<br>         g_print("########################GST_MESSAGE_ELEMENT START#################\n");<br>         g_print("File written.");<br>         //gboolean fields=gst_structure_has_field(GstMultiFileSink,const gchar *filename);<br>         g_print(s->filename);<br>         g_print(s->index);<br>         g_print(s->post_messages);<br>         g_print(s->max_files);<br>         g_print(s->max_file_size);<br>         g_print(s->max_file_duration);<br>         g_print(s->aggregate_gops);<br>         g_print(s->gop_adapter);<br>         g_print(s->next_segmen);<br>         g_print("########################GST_MESSAGE_ELEMENT END#################\n");<br>    }<br><div>    break;</div><div><br></div><div>  const GstStructure *s;</div><div><br></div><div><br></div><div>Its showinig <br></div><div><br></div><div><br></div><div>‘GstStructure {aka const struct _GstStructure}’ has no member named ‘filename’<br>          g_print(s->filename);<br>                   ^<br>GVideo.c:623:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘index’<br>          g_print(s->index);<br>                   ^<br>GVideo.c:624:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘post_messages’<br>          g_print(s->post_messages);<br>                   ^<br>GVideo.c:625:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘max_files’<br>          g_print(s->max_files);<br>                   ^<br>GVideo.c:626:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘max_file_size’<br>          g_print(s->max_file_size);<br>                   ^<br>GVideo.c:627:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘max_file_duration’<br>          g_print(s->max_file_duration);<br>                   ^<br>GVideo.c:628:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘aggregate_gops’<br>          g_print(s->aggregate_gops);<br>                   ^<br>GVideo.c:629:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘gop_adapter’<br>          g_print(s->gop_adapter);<br>                   ^<br>GVideo.c:630:19: error: ‘GstStructure {aka const struct _GstStructure}’ has no member named ‘next_segmen’<br>          g_print(s->next_segmen);<br>                   ^<br><br></div><br></div>