mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +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:
|
* 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
|
* 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)
|
* 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;
|
gboolean top_dot_present;
|
||||||
gchar sep;
|
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
|
/* Top dot is present for non-interlaced content, and for field 2 in
|
||||||
* interlaced content */
|
* interlaced content */
|
||||||
top_dot_present =
|
top_dot_present =
|
||||||
|
|
Loading…
Reference in a new issue