mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
videotimecode: Allow serializing invalid timecodes
This commit is contained in:
parent
be516c2fbd
commit
571e0abd8a
1 changed files with 1 additions and 3 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue