pgssubdec: handle more complex PGS scenarios
authorJohn Stebbins <stebbins@jetheaddev.com>
Wed, 18 Jun 2014 20:38:36 +0000 (13:38 -0700)
committerAnton Khirnov <anton@khirnov.net>
Mon, 30 Jun 2014 10:18:58 +0000 (12:18 +0200)
commit253d0be6a1ecc343d29ff8e1df0ddf961ab9c772
tree6e22b93fb107e7782163dbc2d592e652e2981c64
parent7b0c7c9163fe3dd0081696befde28617119d2590
pgssubdec: handle more complex PGS scenarios

Add ability to handle multiple palettes and objects simultaneously.
Each simultaneous object is given its own AVSubtitleRect.
Note that there can be up to 64 currently valid objects, but only
2 at any one time can be "presented".

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/pgssubdec.c