summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-06-09 23:14:26 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:46 +0100
commitb4fa8a4ef01a78638f5bc16a14802acfa1c11106 (patch)
tree18b7ddc900c546f42ee8a7eb11c93ac81400b05f /sys
parent53a5272f73beaf87d33f99dc4a0d0dd0770934cc (diff)
vdpaumpegdec: use fixed src caps
Diffstat (limited to 'sys')
-rw-r--r--sys/vdpau/gstvdpmpegdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpmpegdec.c b/sys/vdpau/gstvdpmpegdec.c
index a4c2f687f..b720217d1 100644
--- a/sys/vdpau/gstvdpmpegdec.c
+++ b/sys/vdpau/gstvdpmpegdec.c
@@ -1075,6 +1075,7 @@ static void
gst_vdp_mpeg_dec_init (GstVdpMpegDec * mpeg_dec, GstVdpMpegDecClass * gclass)
{
mpeg_dec->src = gst_pad_new_from_static_template (&src_template, "src");
+ gst_pad_use_fixed_caps (mpeg_dec->src);
gst_pad_set_event_function (mpeg_dec->src,
GST_DEBUG_FUNCPTR (gst_vdp_mpeg_dec_src_event));
gst_pad_set_query_function (mpeg_dec->src,