Error in console when loading project with no markers
The issue is harmless, but the error in the console looks bad.
Steps to reproduce:
- Create a new project
- Save
- Close Pitivi
- Open the saved project, notice in the console:
(pitivi:2): GStreamer-CRITICAL **: 00:53:03.002: gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed
(pitivi:2): GStreamer-CRITICAL **: 00:53:03.003: gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed
(pitivi:2): GStreamer-CRITICAL **: 00:53:03.003: gst_structure_has_name: assertion 'structure != NULL' failed
0:00:00.618160622 2 0x5572ddf33090 ERROR ges ges-marker-list.c:410:ges_marker_list_deserialize:0x7ffcd0f1c858 Failed deserializing marker list: unexpected structure (NULL)
(pitivi:2): GStreamer-CRITICAL **: 00:53:03.185: gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed
(pitivi:2): GStreamer-CRITICAL **: 00:53:03.185: gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed
(pitivi:2): GStreamer-CRITICAL **: 00:53:03.185: gst_structure_has_name: assertion 'structure != NULL' failed
0:00:00.800360312 2 0x5572ddf33090 ERROR ges ges-marker-list.c:410:ges_marker_list_deserialize:0x7ffcd0f1d848 Failed deserializing marker list: unexpected structure (NULL)
<ges version='0.1'>
<project properties='properties;' metadatas='metadatas, author=(string)Unknown, scaled_proxy_width=(int)0, scaled_proxy_height=(int)0, render-scale=(double)100, format-version=(string)0.1;'>
<encoding-profiles>
<encoding-profile name='pitivi-profile' description='Pitivi encoding profile' type='container' preset-name='webmmux' format='video/webm' >
<stream-profile parent='pitivi-profile' id='0' type='video' presence='0' format='video/x-vp8, profile=(string){ 0, 1, 2, 3 }' preset-name='vp8enc' restriction='video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1' pass='0' variableframerate='0' />
<stream-profile parent='pitivi-profile' id='1' type='audio' presence='0' format='audio/x-vorbis, rate=(int)[ 1, 200000 ], channels=(int)[ 1, 255 ]' preset-name='vorbisenc' restriction='audio/x-raw, rate=(int)48000, channels=(int)2' />
</encoding-profile>
</encoding-profiles>
<ressources>
</ressources>
<timeline properties='properties, auto-transition=(boolean)true, snapping-distance=(guint64)606207565;' metadatas='metadatas, markers=(GESMarkerList)"EMPTY", duration=(guint64)0;'>
<track caps='video/x-raw(ANY)' track-type='4' track-id='0' properties='properties, async-handling=(boolean)false, message-forward=(boolean)true, restriction-caps=(string)"video/x-raw\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1", mixing=(boolean)true, id=(string)3635a265aa961ad5b20abf8490f88a85;' metadatas='metadatas;'/>
<track caps='audio/x-raw(ANY)' track-type='2' track-id='1' properties='properties, async-handling=(boolean)false, message-forward=(boolean)true, restriction-caps=(string)"audio/x-raw\,\ rate\=\(int\)48000\,\ channels\=\(int\)2", mixing=(boolean)true, id=(string)f4eacc1596072553a7bb2f2790b304e5;' metadatas='metadatas;'/>
<layer priority='0' properties='properties, auto-transition=(boolean)true;' metadatas='metadatas, volume=(float)1;'>
</layer>
<groups>
</groups>
</timeline>
</project>
</ges>