mirror of
https://bitbucket.org/ohhara/ohmulticastvideoscanner.git
synced 2025-06-07 07:56:20 +00:00
Increase compression level of png to max.
This commit is contained in:
parent
94ed43a4ad
commit
f25f81d2d8
@ -40,7 +40,7 @@ OMVSGst omvs_gst_open(const gchar *uri, const gchar *filename) {
|
||||
g_object_set(G_OBJECT(play), "uri", uri, NULL);
|
||||
conv = gst_element_factory_make("queue", "conv");
|
||||
png = gst_element_factory_make("pngenc", "png");
|
||||
g_object_set(G_OBJECT(png), "snapshot", 1, NULL);
|
||||
g_object_set(G_OBJECT(png), "snapshot", 1, "compression-level", 9, NULL);
|
||||
file = gst_element_factory_make("multifilesink", "file");
|
||||
g_object_set(G_OBJECT(file), "max-files", 1, "location", filename, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user