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.
This commit is contained in:
parent
615fa4790f
commit
be516c2fbd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user