mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
fsvalve: Compare minor, not major
20071121181729-3e2dc-a5997c3b7f5c86966370969714facf8ee242659d.gz
This commit is contained in:
parent
1a47ba87dc
commit
51af047576
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