mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
try to filter _all_ PATs if no SDT could be found patch by (<gbazin at altern dot org>)
+ mpegtsenc.c compile fix by me Originally committed as revision 1995 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -259,10 +259,10 @@ static void mpegts_write_pmt(AVFormatContext *s, MpegTSService *service)
|
||||
MpegTSWriteStream *ts_st = st->priv_data;
|
||||
switch(st->codec.codec_type) {
|
||||
case CODEC_TYPE_VIDEO:
|
||||
stream_type = STREAM_TYPE_VIDEO;
|
||||
stream_type = STREAM_TYPE_VIDEO_MPEG2; //XXX/FIXME is this (and the define) correct?
|
||||
break;
|
||||
case CODEC_TYPE_AUDIO:
|
||||
stream_type = STREAM_TYPE_AUDIO;
|
||||
stream_type = STREAM_TYPE_AUDIO_MPEG1;
|
||||
break;
|
||||
default:
|
||||
stream_type = STREAM_TYPE_PRIVATE_DATA;
|
||||
|
||||
Reference in New Issue
Block a user