Commit be516c2f authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Mathieu Duponchelle

videotimecode: Allow deserializing invalid timecodes

Timecode strings don't contain a framerate and that has to be provided
first separately before it can be converted into a valid timecode.
parent 615fa479
......@@ -670,8 +670,9 @@ gst_video_time_code_deserialize (GValue * dest, const gchar * tc_str)
GstVideoTimeCode *tc = gst_video_time_code_new_from_string (tc_str);
if (tc == NULL || !gst_video_time_code_is_valid (tc))
if (tc == NULL) {
return FALSE;
g_value_take_boxed (dest, tc);
return TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment