1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Clément Bœsch 5c219e289e avcodec/srtdec: attempt to correct SubRip positioning
The positioning was completely wrong. First, the coordinates are
expressed in ASS playback resolution (which is by default 384x288).
Secondly, the coordinates define a drawing rectangle, not a moving area.
The previous code was making subtitles move from a random position to
another random position.

Here we rescale assuming the video resolution is a DVD one (720x480). We
can't really do anything better so far, but since this positioning
information is often from a DVD rip we can consider them relatively
safe.
2015-05-14 12:11:34 +02:00
..
2015-05-13 01:59:51 +02:00
2015-04-29 20:13:59 +02:00
2015-05-06 17:50:09 +02:00
2015-05-07 07:19:52 -04:00
2015-05-13 21:49:21 +02:00
2015-05-06 15:10:41 -04:00
2015-05-13 00:41:38 +02:00