codecmap: use TRUE for boolean fields in caps
authorTim-Philipp Müller <tim@centricular.com>
Sat, 26 Oct 2013 08:09:28 +0000 (09:09 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 26 Oct 2013 08:10:03 +0000 (09:10 +0100)
ext/libav/gstavcodecmap.c

index 96040a6..0639b72 100644 (file)
@@ -955,7 +955,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
     case AV_CODEC_ID_LJPEG:
       caps =
           gst_ff_vid_caps_new (context, NULL, codec_id, encode, "image/jpeg",
-          "parsed", G_TYPE_BOOLEAN, 1, NULL);
+          "parsed", G_TYPE_BOOLEAN, TRUE, NULL);
       break;
 
     case AV_CODEC_ID_SP5X: