diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-07-25 19:45:16 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-09 11:03:22 +0200 |
commit | aed032c25b08a1056c03bd2646d8482f5c0aba73 (patch) | |
tree | 6a9ab92d7b94b207d54d816c0635a3eaff412e1b /libavformat/oggenc.c | |
parent | cc650cf029d8a2aa3c245b014363db673fd2d722 (diff) | |
download | ffmpeg-aed032c25b08a1056c03bd2646d8482f5c0aba73.tar.gz |
dvbsub: fix encoding of termination packets.
The old code generates a termination packet with the same regions as the
start packet and page_state set to "only what changed"; the result is
that the termination packet is decoded as identical to the start packet.
The new code does as found in some DVB broadcasts: produce a packet with
no regions. This is done by expecting num_rects to be 0 rather than
using a flip-flop. ffmpeg.c is updated accordingly.
Diffstat (limited to 'libavformat/oggenc.c')
0 files changed, 0 insertions, 0 deletions