Commit 02a21547 authored by Laurent Aimar's avatar Laurent Aimar

Added a new decoder function (decoder_GetDisplayDate) to be used to convert a

decoder block_t date to a display date (identify for now)
parent fc16feb1
......@@ -144,6 +144,6 @@ struct encoder_t
VLC_EXPORT( input_attachment_t *, decoder_GetInputAttachment, ( decoder_t *, const char *psz_name ) );
VLC_EXPORT( int, decoder_GetInputAttachments, ( decoder_t *p_dec, input_attachment_t ***ppp_attachment, int *pi_attachment ) );
VLC_EXPORT( mtime_t, decoder_GetDisplayDate, ( decoder_t *, mtime_t ) );
#endif /* _VLC_CODEC_H */
......@@ -110,6 +110,12 @@ int decoder_GetInputAttachments( decoder_t *p_dec,
return input_Control( p_dec->p_owner->p_input, INPUT_GET_ATTACHMENTS,
ppp_attachment, pi_attachment );
}
/* decoder_GetDisplayDate:
*/
mtime_t decoder_GetDisplayDate( decoder_t *p_dec, mtime_t i_ts )
{
return i_ts;
}
/**
* Spawns a new decoder thread
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment