summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdpdecoder.c
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-04-26 23:25:33 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:32 +0100
commit8c78a4850fa5bc1323fee6d47e6a9bd31d024f0e (patch)
tree9e7004072a6cc7b4a6c0570c7aa87fa0288d83a3 /sys/vdpau/gstvdpdecoder.c
parent8bbd79496187baabe6ad754e493cb167bbc3a8dc (diff)
downloadgst-plugins-bad-8c78a4850fa5bc1323fee6d47e6a9bd31d024f0e.tar.gz
gst-plugins-bad-8c78a4850fa5bc1323fee6d47e6a9bd31d024f0e.tar.bz2
gst-plugins-bad-8c78a4850fa5bc1323fee6d47e6a9bd31d024f0e.zip
vdpau: fixup renaming
the rename work done in commit 24cf84d06b2f4b2edec3383b198441a07829618b didn't include typecasts. This commit fixes this.
Diffstat (limited to 'sys/vdpau/gstvdpdecoder.c')
-rw-r--r--sys/vdpau/gstvdpdecoder.c10
1 files changed, 5 insertions, 5 deletions
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: