Mercurial > libavformat.hg
diff mpegtsenc.c @ 160:9bde37b1a5ce libavformat
try to filter _all_ PATs if no SDT could be found patch by (<gbazin at altern dot org>)
+ mpegtsenc.c compile fix by me
author | michaelni |
---|---|
date | Sat, 28 Jun 2003 23:44:09 +0000 |
parents | cc03a75cbde4 |
children | 3d92f793fd67 |
line wrap: on
line diff
--- a/mpegtsenc.c Wed Jun 25 10:21:45 2003 +0000 +++ b/mpegtsenc.c Sat Jun 28 23:44:09 2003 +0000 @@ -259,10 +259,10 @@ 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;