Revision d1ac0351
libavformat/mpegtsenc.c | ||
---|---|---|
276 | 276 |
*q++ = language[1]; |
277 | 277 |
*q++ = language[2]; |
278 | 278 |
*q++ = 0x10; /* normal subtitles (0x20 = if hearing pb) */ |
279 |
if(st->codec->extradata_size == 4) { |
|
280 |
memcpy(q, st->codec->extradata, 4); |
|
281 |
q += 4; |
|
282 |
} else { |
|
279 | 283 |
put16(&q, 1); /* page id */ |
280 | 284 |
put16(&q, 1); /* ancillary page id */ |
285 |
} |
|
281 | 286 |
} |
282 | 287 |
break; |
283 | 288 |
case AVMEDIA_TYPE_VIDEO: |
Also available in: Unified diff