camerabin2: preview: remove redundant property setting on appsink

Commit 8a56a7de6d (camerabin2: preview:
Appsink doesn't need to sync) add a line that set the "sync" property on
the appsink. However, the author seems to forget that there's another
property setting on appsink a few lines below.

It's very likely that the added line is required because the original
line doesn't take effect (maybe because it's too late). But for whatever
reason, the original line is now redundant. So, I remove it in this
commit.
This commit is contained in:
Ratchanan Srirattanamet 2019-08-29 21:20:37 +07:00 committed by Tim-Philipp Müller
parent 8ba1b8146f
commit b91ff666f8

View file

@ -194,8 +194,6 @@ gst_camerabin_create_preview_pipeline (GstElement * element,
gst_bus_add_watch (bus, bus_callback, data);
gst_object_unref (bus);
g_object_set (data->appsink, "sync", FALSE, NULL);
data->element = element;
data->filter = filter;
data->vscale = vscale;