From 8c78a4850fa5bc1323fee6d47e6a9bd31d024f0e Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Sun, 26 Apr 2009 23:25:33 +0200 Subject: vdpau: fixup renaming the rename work done in commit 24cf84d06b2f4b2edec3383b198441a07829618b didn't include typecasts. This commit fixes this. --- sys/vdpau/gstvdpdecoder.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/vdpau/gstvdpdecoder.c') diff --git a/sys/vdpau/gstvdpdecoder.c b/sys/vdpau/gstvdpdecoder.c index dafcec98..3f71ab40 100644 --- a/sys/vdpau/gstvdpdecoder.c +++ b/sys/vdpau/gstvdpdecoder.c @@ -83,7 +83,7 @@ gst_vdp_decoder_change_state (GstElement * element, GstStateChange transition) { GstVdpDecoder *dec; - dec = GST_VDPAU_DECODER (element); + dec = GST_VDP_DECODER (element); switch (transition) { case GST_STATE_CHANGE_NULL_TO_READY: @@ -103,8 +103,8 @@ gst_vdp_decoder_change_state (GstElement * element, GstStateChange transition) static gboolean gst_vdp_decoder_sink_set_caps (GstPad * pad, GstCaps * caps) { - GstVdpDecoder *dec = GST_VDPAU_DECODER (GST_OBJECT_PARENT (pad)); - GstVdpDecoderClass *dec_class = GST_VDPAU_DECODER_GET_CLASS (dec); + GstVdpDecoder *dec = GST_VDP_DECODER (GST_OBJECT_PARENT (pad)); + GstVdpDecoderClass *dec_class = GST_VDP_DECODER_GET_CLASS (dec); GstCaps *src_caps, *new_caps; GstStructure *structure; @@ -227,7 +227,7 @@ static void gst_vdp_decoder_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstVdpDecoder *dec = GST_VDPAU_DECODER (object); + GstVdpDecoder *dec = GST_VDP_DECODER (object); switch (prop_id) { case PROP_DISPLAY: @@ -244,7 +244,7 @@ static void gst_vdp_decoder_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstVdpDecoder *dec = GST_VDPAU_DECODER (object); + GstVdpDecoder *dec = GST_VDP_DECODER (object); switch (prop_id) { case PROP_DISPLAY: -- cgit v1.2.1