summaryrefslogtreecommitdiffstats
path: root/ext/raw1394
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-08-08 16:43:47 +0000
committerAndy Wingo <wingo@pobox.com>2005-08-08 16:43:47 +0000
commit568194ce35e3afe61e2e8aa51a9477b2891e5765 (patch)
tree4b925cffef7a71d9e04af9f6dab3e82ff4ff3fe9 /ext/raw1394
parentea90cab3ed09035c9491c4dd4172eb18a5be9d03 (diff)
sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close)
Original commit message from CVS: 2005-08-08 Andy Wingo <wingo@pobox.com> * 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!
Diffstat (limited to 'ext/raw1394')
-rw-r--r--ext/raw1394/gstdv1394src.c10
1 files changed, 2 insertions, 8 deletions
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: