[vlc-devel] commit: Compilation fix for kate. (Laurent Aimar )
git version control
git at videolan.org
Tue Sep 16 21:58:53 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Sep 16 22:01:49 2008 +0200| [92d90130fe799b88956e95ec0df3e8ad81619b6b] | committer: Laurent Aimar
Compilation fix for kate.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92d90130fe799b88956e95ec0df3e8ad81619b6b
---
modules/codec/kate.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/modules/codec/kate.c b/modules/codec/kate.c
index 29b3b20..b014bc4 100644
--- a/modules/codec/kate.c
+++ b/modules/codec/kate.c
@@ -672,17 +672,16 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
{
p_bitmap_region->i_align = SUBPICTURE_ALIGN_BOTTOM;
}
- p_spu->i_x = 0;
- p_spu->i_y = 10;
+ p_spu->p_region->i_x = 0;
+ p_spu->p_region->i_y = 10;
/* override if tracker info present */
if (tracker_valid)
{
- p_spu->i_flags = 0;
if (kin.has.region)
{
- p_spu->i_x = kin.region_x;
- p_spu->i_y = kin.region_y;
+ p_spu->p_region->i_x = kin.region_x;
+ p_spu->p_region->i_y = kin.region_y;
p_spu->b_absolute = true;
}
More information about the vlc-devel
mailing list