[gst-devel] Ouyt of Order Timestamps
Wes Miller
wmiller at sdr.com
Tue Jun 8 20:35:38 CEST 2010
>> Hi ,
>> It would be better if you print timestamp is GST_TIME_FORMAT.
Ok, here is the same set of samples in the requested format.
C-code reads:
g_print( "x = %d ---> "GST_TIME_FORMAT" \n", x,
GST_TIME_ARGS( GST_BUFFER_TIMESTAMP( buffer )));
x = 1482 ---> u:00:00.000000055
x = 1483 ---> u:00:00.000000055
x = 1484 ---> u:00:00.000000055
x = 1485 ---> u:00:00.000000055
x = 1486 ---> u:00:00.000000055
x = 1487 ---> u:00:00.000000056
x = 1488 ---> u:00:00.000000056
x = 1489 ---> u:00:00.000000056
x = 1490 ---> u:00:00.000000056
x = 1491 ---> u:00:00.000000056
x = 1492 ---> u:00:00.000000056
Ok, they're in order, apparently, but this output is still weird;
The saved video is 1 minute in length and the printed timestamps show there
are about 27 frames per second as expected. However, why is the rightmost
field of the timestamps showing seconds? Shouldn't those be nanoseconds?
Wes
Wes
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Out-of-Order-Timestamps-tp2247716p2247815.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list