asfdepay: we require a dynamic payload type
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Apr 2010 14:31:23 +0000 (16:31 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Apr 2010 14:31:23 +0000 (16:31 +0200)
Add an extra caps property that restricts the depayloader to only accept dynamic
payload types.

gst/asfdemux/gstrtpasfdepay.c

index 12240be..7c0eba5 100644 (file)
@@ -41,6 +41,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
 #define SINK_CAPS \
   "application/x-rtp, "                                          \
   "media = (string) { \"application\", \"video\", \"audio\" }, " \
+  "payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "         \
   "clock-rate = (int) [1, MAX ], "                               \
   "encoding-name = (string) \"X-ASF-PF\""