comparison 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
comparison
equal deleted inserted replaced
9987:6445be96aaa1 9988:b8a9cfe64488
351 } 351 }
352 sub_header->rects[0]->x = x1; 352 sub_header->rects[0]->x = x1;
353 sub_header->rects[0]->y = y1; 353 sub_header->rects[0]->y = y1;
354 sub_header->rects[0]->w = w; 354 sub_header->rects[0]->w = w;
355 sub_header->rects[0]->h = h; 355 sub_header->rects[0]->h = h;
356 sub_header->rects[0]->type = SUBTITLE_BITMAP;
356 sub_header->rects[0]->pict.linesize[0] = w; 357 sub_header->rects[0]->pict.linesize[0] = w;
357 } 358 }
358 } 359 }
359 if (next_cmd_pos == cmd_pos) 360 if (next_cmd_pos == cmd_pos)
360 break; 361 break;