Hi! John Högberg has no objections against this patch but I don't know how to test (except with FFmpeg).
Please comment, Carl Eugen
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 45bab1c..76a1cc9 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -314,6 +314,9 @@ static int mpegts_write_pmt(AVFormatContext *s, MpegTSService *service) case AV_CODEC_ID_TRUEHD: stream_type = STREAM_TYPE_AUDIO_TRUEHD; break; + case AV_CODEC_ID_JPEG2000: + stream_type = 0x21; + break; default: stream_type = STREAM_TYPE_PRIVATE_DATA; break;
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel