appsrc: fix max-latency property getter
Was returning the min-latency value.
This commit is contained in:
parent
6842698f0d
commit
80e45be3d0
@ -667,7 +667,7 @@ gst_app_src_get_property (GObject * object, guint prop_id, GValue * value,
|
||||
{
|
||||
guint64 max;
|
||||
|
||||
gst_app_src_get_latency (appsrc, &max, NULL);
|
||||
gst_app_src_get_latency (appsrc, NULL, &max);
|
||||
g_value_set_int64 (value, max);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user