diff dvdsubdec.c @ 9988:b8a9cfe64488 libavcodec

Set subtitle type in DVD and XSUB subtitle decoders. Patch by Janne Grunau <ja?ne-f?mpeg jannau net>.
author stefano
date Sun, 26 Jul 2009 23:08:04 +0000
parents 0dce4fe6e6f3
children c78fd9154378
line wrap: on
line diff
--- a/dvdsubdec.c	Sun Jul 26 21:22:57 2009 +0000
+++ b/dvdsubdec.c	Sun Jul 26 23:08:04 2009 +0000
@@ -353,6 +353,7 @@
                 sub_header->rects[0]->y = y1;
                 sub_header->rects[0]->w = w;
                 sub_header->rects[0]->h = h;
+                sub_header->rects[0]->type = SUBTITLE_BITMAP;
                 sub_header->rects[0]->pict.linesize[0] = w;
             }
         }