From b4fa8a4ef01a78638f5bc16a14802acfa1c11106 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Tue, 9 Jun 2009 23:14:26 +0200 Subject: vdpaumpegdec: use fixed src caps --- sys/vdpau/gstvdpmpegdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/vdpau/gstvdpmpegdec.c b/sys/vdpau/gstvdpmpegdec.c index a4c2f687..b720217d 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, -- cgit v1.2.1