[libbluray-devel] subtitles: added timestamp to PG objects.

hpi1 git at videolan.org
Thu Apr 11 14:43:46 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Apr 11 09:53:41 2013 +0300| [4f4d2240c9ccc252d363a20d03d92c4c5e9c3ec0] | committer: hpi1

subtitles: added timestamp to PG objects.
Allows some optimizations at app side (timestamp is known before flush).

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

 src/libbluray/decoders/graphics_controller.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 1242872..5765337 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -777,7 +777,7 @@ static int _render_pg(GRAPHICS_CONTROLLER *gc)
     /* render objects */
     for (ii = 0; ii < pcs->num_composition_objects; ii++) {
         BD_PG_COMPOSITION_OBJECT *cobj = &pcs->composition_object[ii];
-        _render_pg_composition_object(gc, -1, cobj, palette);
+        _render_pg_composition_object(gc, pcs->pts, cobj, palette);
     }
 
     /* commit changes at given pts */



More information about the libbluray-devel mailing list