mpegtspacketizer: Don't forget the GType when using caps_new_simple()
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 10 Jan 2011 18:11:22 +0000 (19:11 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 10 Jan 2011 18:11:22 +0000 (19:11 +0100)
gst/mpegdemux/mpegtspacketizer.c

index 9a9fd0c..a86ef0e 100644 (file)
@@ -2093,7 +2093,7 @@ mpegts_try_discover_packet_size (MpegTSPacketizer * packetizer)
           packetizer->packet_size = packetsize;
           packetizer->caps = gst_caps_new_simple ("video/mpegts",
               "systemstream", G_TYPE_BOOLEAN, TRUE,
-              "packetsize", packetsize, NULL);
+              "packetsize", G_TYPE_INT, packetsize, NULL);
           pos = i;
           break;
         }