From: David Schleef Date: Fri, 2 Jan 2004 07:19:41 +0000 (+0000) Subject: Remove some dead code X-Git-Tag: BEFORE_INDENT~447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4d877aaa0bbd4047df5bbf714daf91c7ed3357a;p=platform%2Fupstream%2Fgst-plugins-base.git Remove some dead code Original commit message from CVS: Remove some dead code --- diff --git a/sys/v4l/gstv4lmjpegsrc.c b/sys/v4l/gstv4lmjpegsrc.c index d9a772a..08df6a2 100644 --- a/sys/v4l/gstv4lmjpegsrc.c +++ b/sys/v4l/gstv4lmjpegsrc.c @@ -391,12 +391,6 @@ calc_bufsize (int hor_dec, return result; } -#define gst_structure_get_int_range (structure, name, min, max) \ - gst_props_entry_get_int_range(gst_props_get_entry((caps)->properties, \ - name), \ - min, max) - - static GstPadLinkReturn gst_v4lmjpegsrc_srcconnect (GstPad *pad, const GstCaps *caps) diff --git a/sys/v4l/gstv4lsrc.c b/sys/v4l/gstv4lsrc.c index 24656e6..1805da2 100644 --- a/sys/v4l/gstv4lsrc.c +++ b/sys/v4l/gstv4lsrc.c @@ -538,18 +538,6 @@ gst_v4lsrc_getcaps (GstPad *pad) list = gst_caps_new_empty(); for (i = 0; i < 8; i++) { GstCaps *one; -#define gst_v4lsrc_palette_to_caps_range(palette, min_w, max_w, min_h, max_h) \ - gst_v4lsrc_palette_to_caps(palette, \ - gst_props_entry_new("width", \ - G_TYPE_INT_RANGE(min_w, \ - max_w)), \ - gst_props_entry_new("height", \ - G_TYPE_INT_RANGE(min_h, \ - max_h)), \ - gst_props_entry_new("framerate", \ - G_TYPE_DOUBLE_RANGE(0., \ - G_MAXFLOAT)) \ - ) one = gst_v4lsrc_palette_to_caps(palette[i]); gst_caps_set_simple (one,