# HG changeset patch # User michael # Date 1215892585 0 # Node ID fe242597b6e4bfe13cdc6200543dd0aa070271da # Parent 2adcaa7f6dff22f5be74c9759eb7351118a0a29c Add mpegvideo and H.264 to the codec probe. diff -r 2adcaa7f6dff -r fe242597b6e4 utils.c --- a/utils.c Sat Jul 12 19:50:48 2008 +0000 +++ b/utils.c Sat Jul 12 19:56:25 2008 +0000 @@ -303,6 +303,10 @@ st->codec->codec_id = CODEC_ID_MP3; else if (strncmp(fmt->name, "ac3", 3) == 0) st->codec->codec_id = CODEC_ID_AC3; + else if (!strcmp(fmt->name, "mpegvideo")) + st->codec->codec_id = CODEC_ID_MPEG2VIDEO; + else if (!strcmp(fmt->name, "h264")) + st->codec->codec_id = CODEC_ID_H264; } return !!fmt; }