Subject: gst-ffmpeg - Set h263 variant

Set the h263 variant when encoding with CODEC_ID_H263.
---

 gst-ffmpeg/ext/ffmpeg/gstffmpegcodecmap.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

Index: src/gst-ffmpeg/ext/ffmpeg/gstffmpegcodecmap.c
===================================================================
--- src.orig/gst-ffmpeg/ext/ffmpeg/gstffmpegcodecmap.c
+++ src/gst-ffmpeg/ext/ffmpeg/gstffmpegcodecmap.c
@@ -204,7 +204,12 @@ gst_ffmpeg_codecid_to_caps (enum CodecID
       break;
 
     case CODEC_ID_H263:
-      caps = gst_ff_vid_caps_new (context, "video/x-h263", NULL);
+      if (encode) {
+        caps = gst_ff_vid_caps_new (context, "video/x-h263",
+            "variant", G_TYPE_STRING, "h263", NULL);
+      } else {
+        caps = gst_ff_vid_caps_new (context, "video/x-h263", NULL);
+      }
       break;
 
     case CODEC_ID_H263P:
