diff --git a/ChangeLog b/ChangeLog index 715c0c4615..37118fe442 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-14 Julien Moutte + + * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), + (gst_riff_create_video_template_caps): Add Lead H.264 variant. + 2008-08-13 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosrc.c: diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 1434709d41..1861eb8c3f 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -247,6 +247,14 @@ gst_riff_create_video_caps (guint32 codec_fcc, *codec_name = g_strdup ("VideoSoft H.264"); break; + case GST_MAKE_FOURCC ('L', '2', '6', '4'): + /* http://www.leadcodecs.com/Codecs/LEAD-H264.htm */ + caps = gst_caps_new_simple ("video/x-h264", + "variant", G_TYPE_STRING, "lead", NULL); + if (codec_name) + *codec_name = g_strdup ("Lead H.264"); + break; + case GST_MAKE_FOURCC ('S', 'E', 'D', 'G'): caps = gst_caps_new_simple ("video/mpeg", "mpegversion", G_TYPE_INT, 4, NULL); @@ -1464,6 +1472,7 @@ gst_riff_create_video_template_caps (void) GST_MAKE_FOURCC ('I', 'V', '4', '1'), GST_MAKE_FOURCC ('I', 'V', '5', '0'), GST_MAKE_FOURCC ('L', '2', '6', '3'), + GST_MAKE_FOURCC ('L', '2', '6', '4'), GST_MAKE_FOURCC ('M', '2', '6', '3'), GST_MAKE_FOURCC ('M', '4', 'S', '2'), GST_MAKE_FOURCC ('M', 'J', 'P', 'G'),