avcodec/ass: explicit PlayRes[XY]

This avoids the following libass warning when using the subtitles
filter: "Neither PlayResX nor PlayResY defined. Assuming 384x288"

Subtitles tests change because the output is ASS and the PlayRes[XY]
ends up in the output.
This commit is contained in:
Clément Bœsch 2014-06-18 18:12:11 +02:00 committed by Clément Bœsch
parent 2d70282254
commit 5039aadf68
17 changed files with 18 additions and 16 deletions

View File

@ -34,6 +34,8 @@ int ff_ass_subtitle_header(AVCodecContext *avctx,
{
avctx->subtitle_header = av_asprintf(
"[Script Info]\r\n"
"PlayResX: 384\r\n"
"PlayResY: 288\r\n"
"ScriptType: v4.00+\r\n"
"\r\n"
"[V4+ Styles]\r\n"

View File

@ -1 +1 @@
1c68def68db6536c235819cbe0638e00
2603c926b8b235032762ef2ae47a7779

View File

@ -1 +1 @@
9615088d613931b50fd5016c7535b99a
6ae00c6970e873d82ef5d06d40e144fe

View File

@ -1 +1 @@
4e8f2d1d4130251163432d2a448680be
5547b430172107fc242385e9c639fa93

View File

@ -1 +1 @@
35e133576aa3881d2de8dbf39a8d6df7
c150177fc8bb928b51de3533fd105225

View File

@ -1 +1 @@
21453e8ddbbe35d1368a99fe563c969d
ac8c13bac8e0e43c84eaa525680964f0

View File

@ -1 +1 @@
3c2fb62002aec3af16d83135a0e3b0fc
4a7699ff366788a4af6243ab28d2f9ff

View File

@ -1 +1 @@
2c5fafec41479e1d09a32f85e8927d03
7d047bdf176d4477c8713e89be5dec8e

View File

@ -1 +1 @@
cbe6e45848ef77e3080487a88b122104
ae1dce6321a0eb1bc406ca8660350023

View File

@ -1 +1 @@
d044f6ffdee48e48efff072b33baee0a
1e188b18693844b3a30e91a650f68e1b

View File

@ -1 +1 @@
5366f62be001f6fd4a7f48893828bf51
77103e00504d1e1b3302a990a646ae38

View File

@ -1 +1 @@
00642e143339b4ca29dc6e990436387c
4577f9c289440558026dc426584a06d8

View File

@ -1 +1 @@
a246a00ed72655cb8db3eaf64a522e0d
5315582436b3381996dca4a767a080a0

View File

@ -1 +1 @@
aef995d49af4517b40589b72cfa918f7
0954f324e9c8137d7f50fc705199e9a4

View File

@ -1 +1 @@
cbeb015b1125757eed814f212cfc6c9c
89aa422b7a6cd4dc9beef1b5a67d4aab

View File

@ -1 +1 @@
c8201c542f43a9ea42a787ac74d28049
d8405387687269f7d763fc324c7c01bb

View File

@ -1 +1 @@
2cf38e2c99f8717f78a91a3f31197fb4
6b915f0a00ab04649f6ce769da0af916