niimaqsrc: remove assert, as timestamps aren't always retrieved correctly
This commit is contained in:
parent
a9cfe6062d
commit
5e8744d492
@ -788,7 +788,6 @@ gst_niimaqsrc_create (GstPushSrc * psrc, GstBuffer ** buffer)
|
|||||||
/* set timestamp */
|
/* set timestamp */
|
||||||
timestamp =
|
timestamp =
|
||||||
gst_niimaqsrc_get_timestamp_from_buffer_number (niimaqsrc, copied_number);
|
gst_niimaqsrc_get_timestamp_from_buffer_number (niimaqsrc, copied_number);
|
||||||
g_assert (timestamp != GST_CLOCK_TIME_NONE);
|
|
||||||
|
|
||||||
/* make guess of duration from timestamp and cumulative buffer number */
|
/* make guess of duration from timestamp and cumulative buffer number */
|
||||||
if (GST_CLOCK_TIME_IS_VALID (timestamp)) {
|
if (GST_CLOCK_TIME_IS_VALID (timestamp)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user