Skip to content
Snippets Groups Projects
Commit db7ef828 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

add decoder_get_time

parent f40e396e
No related branches found
No related tags found
No related merge requests found
......@@ -71,4 +71,6 @@ size_t arib_decode_buffer( arib_decoder_t* decoder,
const unsigned char *buf, size_t count,
char *ubuf, size_t ucount );
time_t arib_decoder_get_time( arib_decoder_t *decoder );
#endif
......@@ -1594,3 +1594,8 @@ void arib_decoder_free( arib_decoder_t *p_decoder )
{
free( p_decoder );
}
time_t arib_decoder_get_time( arib_decoder_t *p_decoder )
{
return (time_t) p_decoder->i_control_time * 1000000 / 10;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment