summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-06-28 23:44:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-06-28 23:44:09 +0000
commitce34182dd75c8cfdde134944f6de83e17c73ff9d (patch)
treef41e31d712bf689203102d26c1f958f85fcd4d2e /libavformat/mpegtsenc.c
parentd3b150363c0d7a43a918586a30d651c26e9b0fcf (diff)
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
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 079f4c724c..60520de540 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -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;