mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
[MOVED FROM GST-P-FARSIGHT] Compare minor, not major
20071121181729-3e2dc-a5997c3b7f5c86966370969714facf8ee242659d.gz
This commit is contained in:
parent
17639a3e82
commit
f6fb98f627
1 changed files with 2 additions and 3 deletions
|
@ -134,8 +134,7 @@ gst_valve_class_init (GstValveClass *klass)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_valve_init (GstValve *valve,
|
gst_valve_init (GstValve *valve, GstValveClass *klass)
|
||||||
GstValveClass *klass)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
valve->drop = 0;
|
valve->drop = 0;
|
||||||
|
@ -198,7 +197,7 @@ gst_valve_transform_ip (GstBaseTransform *trans, GstBuffer *buf)
|
||||||
|
|
||||||
GST_OBJECT_LOCK (GST_OBJECT (trans));
|
GST_OBJECT_LOCK (GST_OBJECT (trans));
|
||||||
if (valve->drop) {
|
if (valve->drop) {
|
||||||
#if GST_VERSION_MAJOR >= 10 && GST_VERSION_MICRO >= 13
|
#if GST_VERSION_MINOR >= 10 && GST_VERSION_MICRO >= 13
|
||||||
ret = GST_BASE_TRANSFORM_FLOW_DROPPED;
|
ret = GST_BASE_TRANSFORM_FLOW_DROPPED;
|
||||||
#endif
|
#endif
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
|
|
Loading…
Reference in a new issue