videotimecode: Allow serializing invalid timecodes

This commit is contained in:
Sebastian Dröge 2018-12-14 21:24:27 +02:00 committed by Mathieu Duponchelle
parent be516c2fbd
commit 571e0abd8a

View file

@ -115,7 +115,7 @@ gst_video_time_code_is_valid (const GstVideoTimeCode * tc)
/**
* gst_video_time_code_to_string:
* @tc: A valid #GstVideoTimeCode to convert
* @tc: A #GstVideoTimeCode to convert
*
* Returns: the SMPTE ST 2059-1:2015 string representation of @tc. That will
* take the form hh:mm:ss:ff. The last separator (between seconds and frames)
@ -137,8 +137,6 @@ gst_video_time_code_to_string (const GstVideoTimeCode * tc)
gboolean top_dot_present;
gchar sep;
g_return_val_if_fail (gst_video_time_code_is_valid (tc), NULL);
/* Top dot is present for non-interlaced content, and for field 2 in
* interlaced content */
top_dot_present =