mpegtspacketizer: Don't forget the GType when using caps_new_simple()

This commit is contained in:
Edward Hervey 2011-01-10 19:11:22 +01:00
parent d12c42a1da
commit ee0c9ae2f3

View 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;
}