From 568194ce35e3afe61e2e8aa51a9477b2891e5765 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 8 Aug 2005 16:43:47 +0000 Subject: sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close) Original commit message from CVS: 2005-08-08 Andy Wingo * sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close) (gst_oss_sink_prepare, gst_oss_sink_unprepare): Update for newer audiosink api. * ext/raw1394/gstdv1394src.c (gst_dv1394src_get_property) (gst_dv1394src_set_property): Style. All about the style. * ext/esd/esdsink.c (gst_esdsink_getcaps): Return specific caps only if in READY or higher (i.e., if _open() has been called.) (gst_esdsink_open, gst_esdsink_close, gst_esdsink_prepare) (gst_esdsink_unprepare): Update for audiosink changes. (gst_esdsink_change_state): Die! --- ext/raw1394/gstdv1394src.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'ext/raw1394') diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index c48fa322..74e79124 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -272,10 +272,7 @@ static void gst_dv1394src_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - GstDV1394Src *filter; - - g_return_if_fail (GST_IS_DV1394SRC (object)); - filter = GST_DV1394SRC (object); + GstDV1394Src *filter = GST_DV1394SRC (object); switch (prop_id) { case ARG_PORT: @@ -308,10 +305,7 @@ static void gst_dv1394src_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - GstDV1394Src *filter; - - g_return_if_fail (GST_IS_DV1394SRC (object)); - filter = GST_DV1394SRC (object); + GstDV1394Src *filter = GST_DV1394SRC (object); switch (prop_id) { case ARG_PORT: -- cgit