From ba54315e30f7b2c6cac58f28343911c486aedace Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 4 Aug 2003 02:07:26 +0000 Subject: add xine_get_current_vpts() to make xine_osd_show and xine_osd_hide api consistent CVS patchset: 5236 CVS date: 2003/08/04 02:07:26 --- include/xine.h.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xine.h.in b/include/xine.h.in index d0743f756..696d13b83 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.90 2003/07/12 20:31:49 miguelfreitas Exp $ + * $Id: xine.h.in,v 1.91 2003/08/04 02:07:26 miguelfreitas Exp $ * * public xine-lib (libxine) interface and documentation * @@ -372,6 +372,12 @@ int xine_get_current_frame (xine_stream_t *stream, #define XINE_IMGFMT_YV12 (('2'<<24)|('1'<<16)|('V'<<8)|'Y') #define XINE_IMGFMT_YUY2 (('2'<<24)|('Y'<<16)|('U'<<8)|'Y') +/* get current xine's virtual presentation timestamp (1/90000 sec) + * note: this is mostly internal data. + * one can use vpts with xine_osd_show() and xine_osd_hide(). + */ +int64_t xine_get_current_vpts(xine_stream_t *stream); + /********************************************************************* * media processing * -- cgit v1.2.3