Mercurial > mplayer.hg
diff mplayer.c @ 36458:4634a3085efc
Add mpctx_get_global_sub_pos().
This avoids direct context access.
| author | ib |
|---|---|
| date | Tue, 17 Dec 2013 22:31:30 +0000 |
| parents | 9a28d5c4320a |
| children | e6953c9c223a |
line wrap: on
line diff
--- a/mplayer.c Tue Dec 17 22:30:06 2013 +0000 +++ b/mplayer.c Tue Dec 17 22:31:30 2013 +0000 @@ -365,6 +365,11 @@ return mpctx->global_sub_size; } +int mpctx_get_global_sub_pos(MPContext *mpctx) +{ + return mpctx->global_sub_pos; +} + int mpctx_get_osd_function(MPContext *mpctx) { return mpctx->osd_function;
