mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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
|
||||
gst_valve_init (GstValve *valve,
|
||||
GstValveClass *klass)
|
||||
gst_valve_init (GstValve *valve, GstValveClass *klass)
|
||||
{
|
||||
|
||||
valve->drop = 0;
|
||||
|
@ -198,7 +197,7 @@ gst_valve_transform_ip (GstBaseTransform *trans, GstBuffer *buf)
|
|||
|
||||
GST_OBJECT_LOCK (GST_OBJECT (trans));
|
||||
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;
|
||||
#endif
|
||||
buf = NULL;
|
||||
|
|
Loading…
Reference in a new issue