appsrc: fix max-latency property getter

Was returning the min-latency value.
This commit is contained in:
Tim-Philipp Müller 2012-09-29 21:42:46 +01:00
parent 6842698f0d
commit 80e45be3d0

View file

@ -667,7 +667,7 @@ gst_app_src_get_property (GObject * object, guint prop_id, GValue * value,
{ {
guint64 max; guint64 max;
gst_app_src_get_latency (appsrc, &max, NULL); gst_app_src_get_latency (appsrc, NULL, &max);
g_value_set_int64 (value, max); g_value_set_int64 (value, max);
break; break;
} }