Commit fcb4a6d3 authored by stefano's avatar stefano

Set subtitle type in DVB subtitle decoder.

Patch by Janne Grunau <j?nne-f?mpeg@jannau?net>.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19432 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f5427fca
......@@ -1305,6 +1305,7 @@ static int dvbsub_display_end_segment(AVCodecContext *avctx, const uint8_t *buf,
rect->w = region->width;
rect->h = region->height;
rect->nb_colors = 16;
rect->type = SUBTITLE_BITMAP;
rect->pict.linesize[0] = region->width;
clut = get_clut(ctx, region->clut);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment