lavf: probe PGS subtitles definition.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 7 Aug 2012 16:53:00 +0000 (18:53 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 14 Aug 2012 09:17:45 +0000 (11:17 +0200)
commitb1511e00f6fefde6cb31b2e17f7812cfac1c8bd6
treee67ea0b4faf3848066b31bb62763e88d6bb959f1
parent2dedd8f49622303f96c6f575af7f7a9b338b88ba
lavf: probe PGS subtitles definition.

The resolution is in the packets, so decoding must happen.
Since most other formats do not set the dimension, make it
a special case for PGS. If other codecs were to have the
same requirement, using a CODEC_CAP would be preferred.
libavformat/utils.c