summaryrefslogtreecommitdiff
path: root/gst/mxf/mxfdv-dif.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-02-26 13:39:01 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-02-28 12:06:57 +0100
commitcbb7fa570142d9e0dffcc45c1cb781fad49f9060 (patch)
treece4912f956a4bc08be0592f30a79d5e0ed6c73ff /gst/mxf/mxfdv-dif.c
parent2eb38991c6d67e47ef90246b2561588cf4b5f390 (diff)
downloadgstreamer-plugins-bad-cbb7fa570142d9e0dffcc45c1cb781fad49f9060.tar.gz
miniobject: port to new 0.11 API
Remove miniobject and buffer subclassesusing GObject subclasses and metadata.
Diffstat (limited to 'gst/mxf/mxfdv-dif.c')
-rw-r--r--gst/mxf/mxfdv-dif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mxf/mxfdv-dif.c b/gst/mxf/mxfdv-dif.c
index a239958d5..cf56c7fcc 100644
--- a/gst/mxf/mxfdv-dif.c
+++ b/gst/mxf/mxfdv-dif.c
@@ -175,14 +175,14 @@ mxf_dv_dif_get_descriptor (GstPadTemplate * tmpl, GstCaps * caps,
MXFMetadataCDCIPictureEssenceDescriptor *ret;
ret = (MXFMetadataCDCIPictureEssenceDescriptor *)
- gst_mini_object_new (MXF_TYPE_METADATA_CDCI_PICTURE_ESSENCE_DESCRIPTOR);
+ g_object_new (MXF_TYPE_METADATA_CDCI_PICTURE_ESSENCE_DESCRIPTOR, NULL);
memcpy (&ret->parent.parent.essence_container, &dv_dif_essence_container_ul,
16);
if (!mxf_metadata_generic_picture_essence_descriptor_from_caps (&ret->parent,
caps)) {
- gst_mini_object_unref (GST_MINI_OBJECT_CAST (ret));
+ g_object_unref (ret);
return NULL;
}
*handler = mxf_dv_dif_write_func;