History

mpegtsenc: stop impersonating ses in sdt

Unless specified, users must use non registered range for network id

Francois Cartegnie committed 10 years ago

Commit 393596f1 parent ffa190d1 file · +3 −1Browse files

Unified · Split

libavformat/mpegtsenc.c+3−1
@@ -37,6 +37,8 @@ · 36 unmodified lines
3737
3838 /* write DVB SI sections */
3939
40+#define DVB_PRIVATE_NETWORK_START 0xff01
41+
4042 /*********************************************/
4143 /* mpegts section writer */
4244
@@ -1234,7 +1236,7 @@ static const AVOption options[] = { · 1191 unmodified lines
12341236 { .i64 = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },
12351237 { "mpegts_original_network_id", "Set original_network_id field.",
12361238 offsetof(MpegTSWrite, original_network_id), AV_OPT_TYPE_INT,
1237− { .i64 = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },
1239+ { .i64 = DVB_PRIVATE_NETWORK_START }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },
12381240 { "mpegts_service_id", "Set service_id field.",
12391241 offsetof(MpegTSWrite, service_id), AV_OPT_TYPE_INT,
12401242 { .i64 = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },

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