diff options
author | David Schleef <ds@schleef.org> | 2003-12-21 23:24:38 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-12-21 23:24:38 +0000 |
commit | 8284d0d3a2911a9ef9667aa52f0fd42e4c93405f (patch) | |
tree | 5fa53a115231b29afd0bc832f9c32afdd8dd51c7 /ext/audiofile | |
parent | 26da56b423a834192f5edf413c3cb1be257f845a (diff) | |
download | gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.gz gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.bz2 gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.zip |
Original commit message from CVS:
Global change from "caps2" to "caps"
Diffstat (limited to 'ext/audiofile')
-rw-r--r-- | ext/audiofile/gstafparse.c | 2 | ||||
-rw-r--r-- | ext/audiofile/gstafsink.c | 4 | ||||
-rw-r--r-- | ext/audiofile/gstafsrc.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c index bb37687b..f61d64f4 100644 --- a/ext/audiofile/gstafparse.c +++ b/ext/audiofile/gstafparse.c @@ -382,7 +382,7 @@ gst_afparse_open_file (GstAFParse *afparse) /* set caps on src */ /*FIXME: add all the possible formats, especially float ! */ gst_pad_try_set_caps (afparse->srcpad, - gst_caps2_new_simple ( + gst_caps_new_simple ( "audio/x-raw-int", "endianness", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, afparse->is_signed, diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index 8dad9ede..5b6b702e 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -282,7 +282,7 @@ static gboolean gst_afsink_open_file (GstAFSink *sink) { AFfilesetup outfilesetup; - const GstCaps2 *caps; + const GstCaps *caps; GstStructure *structure; int sample_format; /* audiofile's sample format, look in audiofile.h */ int byte_order = 0; /* audiofile's byte order defines */ @@ -306,7 +306,7 @@ gst_afsink_open_file (GstAFSink *sink) if (caps == NULL) { g_critical ("gstafsink chain : Could not get caps of pad !\n"); } else { - structure = gst_caps2_get_nth_cap (caps, 0); + structure = gst_caps_get_structure (caps, 0); gst_structure_get_int (structure, "channels", &sink->channels); gst_structure_get_int (structure, "width", &sink->width); gst_structure_get_int (structure, "rate", &sink->rate); diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index a569f8bf..0520463d 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -341,7 +341,7 @@ gst_afsrc_open_file (GstAFSrc *src) /* set caps on src */ /*FIXME: add all the possible formats, especially float ! */ gst_pad_try_set_caps (src->srcpad, - gst_caps2_new_simple ("audio/x-raw-int", + gst_caps_new_simple ("audio/x-raw-int", "endianness", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, src->is_signed, "width", G_TYPE_INT, src->width, |