libbluray | branch: master | hpi1 <[email protected]> | Thu Jun 20 15:53:53 2013 +0300| [7512029518fd4039d386ef16c08fbda5b69d51a2] | committer: hpi1
Log unimplemented features in graphics controller > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7512029518fd4039d386ef16c08fbda5b69d51a2 --- src/libbluray/decoders/graphics_controller.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c index c469edc..7ee8b24 100644 --- a/src/libbluray/decoders/graphics_controller.c +++ b/src/libbluray/decoders/graphics_controller.c @@ -744,6 +744,19 @@ int gc_decode_ts(GRAPHICS_CONTROLLER *gc, uint16_t pid, uint8_t *block, unsigned return 0; } + /* TODO: */ + if (gc->igs->ics) { + if (gc->igs->ics->interactive_composition.composition_timeout_pts > 0) { + GC_TRACE("gc_decode_ts(): IG composition_timeout_pts not implemented\n"); + } + if (gc->igs->ics->interactive_composition.selection_timeout_pts) { + GC_TRACE("gc_decode_ts(): IG selection_timeout_pts not implemented\n"); + } + if (gc->igs->ics->interactive_composition.user_timeout_duration) { + GC_TRACE("gc_decode_ts(): IG user_timeout_duration not implemented\n"); + } + } + bd_mutex_unlock(&gc->mutex); return 1; @@ -919,6 +932,14 @@ static int _render_textst(GRAPHICS_CONTROLLER *p, uint32_t stc, GC_NAV_CMDS *cmd BD_TEXTST_DIALOG_REGION *region = &dialog[ii].region[jj]; BD_TEXTST_REGION_STYLE *style = NULL; + // TODO: + if (region->continous_present_flag) { + GC_ERROR("_render_textst(): continous_present_flag: not implemented\n"); + } + if (region->forced_on_flag) { + GC_ERROR("_render_textst(): forced_on_flag: not implemented\n"); + } + style = _find_region_style(s->style, region->region_style_id_ref); if (!style) { GC_ERROR("_render_textst: region style #%d not found\n", region->region_style_id_ref); @@ -1136,6 +1157,11 @@ static int _render_page(GRAPHICS_CONTROLLER *gc, return -1; } + /* TODO: */ + if (page->in_effects.num_effects || page->out_effects.num_effects) { + GC_ERROR("_render_page(): in/out effects not implemented\n"); + } + palette = _find_palette(s, page->palette_id_ref); if (!palette) { GC_ERROR("_render_page: unknown palette id %d (have %d palettes)\n", _______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
