From 6dc864a807363f6853a669e39f2feaa18927db7e Mon Sep 17 00:00:00 2001 From: Philippe Kalaf Date: Tue, 16 May 2006 20:03:00 +0000 Subject: [PATCH] Add variant=h263p to ffenc_h263p caps Original commit message from CVS: Add variant=h263p to ffenc_h263p caps --- common | 2 +- ext/ffmpeg/gstffmpegcodecmap.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common b/common index e41606ab2c..3062df9028 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit e41606ab2c6a31be473de511b5fd776bd2593b56 +Subproject commit 3062df90281144cbdb55bd58ee9f0714ab346c23 diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 5e39f8660e..642c271236 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -163,12 +163,15 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id, /* this is a special ID - don't need it in GStreamer, I think */ break; - /* I don't know the exact differences between those... Anyone? */ case CODEC_ID_H263: - case CODEC_ID_H263P: caps = GST_FF_VID_CAPS_NEW ("video/x-h263", NULL); break; + case CODEC_ID_H263P: + caps = GST_FF_VID_CAPS_NEW ("video/x-h263", + "variant", G_TYPE_STRING, "h263p", NULL); + break; + case CODEC_ID_H263I: caps = GST_FF_VID_CAPS_NEW ("video/x-intel-h263", NULL); break;