Files
Velix-MPV-Core/libmpcodecs
Uoti Urpala 96312757c5 vd_ffmpeg: fix aspect ratio problems with recent FFmpeg
The code left ctx->last_sample_aspect_ratio at 0/0 when allocating a
context. In older FFmpeg versions av_cmp_q() against 0/0 always said
the numbers are equal; but this changed recently, triggering incorrect
overwrite of container aspect ratio. The logic looks like it'd need
further fixes, but for now just initialize last_sample_aspect_ratio to
0/1; this should restore the previous behavior from before FFmpeg
changes, which worked well enough for the most common cases.
2010-10-16 05:14:25 +03:00
..
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-10 00:00:06 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-05-25 11:39:58 +00:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-05-25 11:39:58 +00:00
2010-05-25 11:39:58 +00:00
2010-05-25 11:39:58 +00:00
2010-04-26 17:55:05 +03:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2009-11-10 11:31:47 +00:00
2010-03-09 18:59:15 +02:00
2010-05-30 15:21:18 +03:00
2010-03-09 18:59:15 +02:00
2010-04-26 18:46:18 +03:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-04-26 17:42:20 +03:00
2010-03-09 18:59:15 +02:00
2010-05-30 16:39:41 +03:00
2010-04-26 17:42:20 +03:00
2010-03-09 18:59:15 +02:00
2010-06-05 23:37:42 +03:00
2010-06-05 23:35:42 +03:00
2010-04-26 18:25:34 +03:00
2010-06-05 23:37:42 +03:00
2010-06-02 19:12:01 +03:00
2010-06-05 23:35:42 +03:00
2010-05-30 15:37:34 +03:00