avcodec/pgssubdec: Fix input pts
Fixes part of Ticket2516 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -638,7 +638,7 @@ static int decode(AVCodecContext *avctx, void *data, int *data_size,
|
|||||||
ret = parse_object_segment(avctx, buf, segment_length);
|
ret = parse_object_segment(avctx, buf, segment_length);
|
||||||
break;
|
break;
|
||||||
case PRESENTATION_SEGMENT:
|
case PRESENTATION_SEGMENT:
|
||||||
ret = parse_presentation_segment(avctx, buf, segment_length, avpkt->pts);
|
ret = parse_presentation_segment(avctx, buf, segment_length, ((AVSubtitle*)(data))->pts);
|
||||||
break;
|
break;
|
||||||
case WINDOW_SEGMENT:
|
case WINDOW_SEGMENT:
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user