[libbluray-devel] Added bd_seek_playitem() and bd_set_scr() to bluray.h

hpi1 git at videolan.org
Wed Sep 12 12:54:23 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Sep 12 13:29:02 2012 +0300| [982a9f482319835b91aef43db02fce9bb971bdec] | committer: hpi1

Added bd_seek_playitem() and bd_set_scr() to bluray.h

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=982a9f482319835b91aef43db02fce9bb971bdec
---

 src/libbluray/bluray.h |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/libbluray/bluray.h b/src/libbluray/bluray.h
index 08d3508..eb6a7c2 100644
--- a/src/libbluray/bluray.h
+++ b/src/libbluray/bluray.h
@@ -337,6 +337,16 @@ int64_t bd_seek_mark(BLURAY *bd, unsigned mark);
 
 /**
  *
+ *  Seek to a playitem.
+ *
+ * @param bd  BLURAY object
+ * @param playitem to seek to
+ * @return current seek position
+ */
+int64_t bd_seek_playitem(BLURAY *bd, unsigned clip_ref);
+
+/**
+ *
  *  Select a playlist
  *
  * @param bd  BLURAY object
@@ -656,6 +666,15 @@ void bd_register_overlay_proc(BLURAY *bd, void *handle, bd_overlay_proc_f func);
 
 /**
  *
+ *  Update current pts.
+ *
+ * @param bd  BLURAY object
+ * @param pts current playback position (1/90000s) or -1
+ */
+void bd_set_scr(BLURAY *bd, int64_t pts);
+
+/**
+ *
  *  Pass user input to graphics controller.
  *  Keys are defined in libbluray/keys.h.
  *  Current pts can be updated by using BD_VK_NONE key. This is required for animated menus.



More information about the libbluray-devel mailing list