From 571e0abd8a2ec3e3672ecfc322bb7588fb2cbd73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 14 Dec 2018 21:24:27 +0200 Subject: [PATCH] videotimecode: Allow serializing invalid timecodes --- gst-libs/gst/video/gstvideotimecode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideotimecode.c b/gst-libs/gst/video/gstvideotimecode.c index 67d1b42caf..e0b2439411 100644 --- a/gst-libs/gst/video/gstvideotimecode.c +++ b/gst-libs/gst/video/gstvideotimecode.c @@ -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 =