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
37 37
38/* write DVB SI sections */38/* write DVB SI sections */
39 39
40#define DVB_PRIVATE_NETWORK_START 0xff01
41
40/*********************************************/42/*********************************************/
41/* mpegts section writer */43/* mpegts section writer */
42 44
@@ -1234,7 +1236,7 @@ static const AVOption options[] = { · 1191 unmodified lines
1234 { .i64 = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },1236 { .i64 = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },
1235 { "mpegts_original_network_id", "Set original_network_id field.",1237 { "mpegts_original_network_id", "Set original_network_id field.",
1236 offsetof(MpegTSWrite, original_network_id), AV_OPT_TYPE_INT,1238 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 },
1238 { "mpegts_service_id", "Set service_id field.",1240 { "mpegts_service_id", "Set service_id field.",
1239 offsetof(MpegTSWrite, service_id), AV_OPT_TYPE_INT,1241 offsetof(MpegTSWrite, service_id), AV_OPT_TYPE_INT,
1240 { .i64 = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM },1242 { .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