[FFmpeg-devel] [PATCH 2/3] lavf/srtenc: honor subtitle position side data.

Clément Bœsch ubitux at gmail.com
Sat Dec 1 00:45:17 CET 2012


On Sat, Dec 01, 2012 at 12:43:27AM +0100, Clément Bœsch wrote:
[...]
>          e = s + d;
> -        avio_printf(avf->pb, "%d\n%02d:%02d:%02d,%03d --> %02d:%02d:%02d,%03d\n",
> +        avio_printf(avf->pb, "%d\n%02d:%02d:%02d,%03d --> %02d:%02d:%02d,%03d",
>                         srt->index,
>                         (int)(s / 3600000),      (int)(s / 60000) % 60,
>                         (int)(s /    1000) % 60, (int)(s %  1000),
>                         (int)(e / 3600000),      (int)(e / 60000) % 60,
>                         (int)(e /    1000) % 60, (int)(e %  1000));
> +        if (p)
> +            avio_printf(avf->pb, "  X1:%03d X2:%03d Y1:%03d Y2:%03d",
> +                        x1, y1, x2, y2);

x1, x2, y1, y2 obviously.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121201/f9fe50b8/attachment.asc>


More information about the ffmpeg-devel mailing list