mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
Remove some dead code
Original commit message from CVS: Remove some dead code
This commit is contained in:
parent
7ccfa2dac7
commit
c4d877aaa0
2 changed files with 0 additions and 18 deletions
|
@ -391,12 +391,6 @@ calc_bufsize (int hor_dec,
|
||||||
return result;
|
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
|
static GstPadLinkReturn
|
||||||
gst_v4lmjpegsrc_srcconnect (GstPad *pad,
|
gst_v4lmjpegsrc_srcconnect (GstPad *pad,
|
||||||
const GstCaps *caps)
|
const GstCaps *caps)
|
||||||
|
|
|
@ -538,18 +538,6 @@ gst_v4lsrc_getcaps (GstPad *pad)
|
||||||
list = gst_caps_new_empty();
|
list = gst_caps_new_empty();
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
GstCaps *one;
|
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]);
|
one = gst_v4lsrc_palette_to_caps(palette[i]);
|
||||||
gst_caps_set_simple (one,
|
gst_caps_set_simple (one,
|
||||||
|
|
Loading…
Reference in a new issue