History

lavf/matroskaenc: enable PGS merge auto bsf

PGS segments must be merged to one packet for muxing to mkv

John Stebbins committed 6 years ago

Commit 7f5b5771 parent 326f9fd2 files · +4 −1Browse files

Showing the changes to libavformat (1 of 2 files). Show all

Unified · Split

libavformat/matroskaenc.c+3−0
@@ -3172,6 +3172,9 @@ static int mkv_check_bitstream(AVFormatContext *s, AVStream *st, · 3171 unmodified lines
31723172 ret = ff_stream_add_bitstream_filter(st, "aac_adtstoasc", NULL);
31733173 } else if (st->codecpar->codec_id == AV_CODEC_ID_VP9) {
31743174 ret = ff_stream_add_bitstream_filter(st, "vp9_superframe", NULL);
3175+ } else if (CONFIG_MATROSKA_MUXER &&
3176+ st->codecpar->codec_id == AV_CODEC_ID_HDMV_PGS_SUBTITLE) {
3177+ ret = ff_stream_add_bitstream_filter(st, "pgs_frame_merge", NULL);
31753178 }
31763179
31773180 return ret;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t