WIP
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
b396f42837
commit
e6f81905c9
1 changed files with 1 additions and 6 deletions
|
@ -33,7 +33,6 @@ public class EyeNeko.Gstreamer : Object {
|
|||
var cap = new FriendlyCaps.with_struct (caps.get_structure (i));
|
||||
available_caps.append (cap);
|
||||
}
|
||||
caps_selecton_model.selected = 0;
|
||||
}
|
||||
|
||||
public class Camera : Object {
|
||||
|
@ -138,8 +137,7 @@ public class EyeNeko.Gstreamer : Object {
|
|||
caps_selecton_model.set_model (filter);
|
||||
} else
|
||||
caps_selecton_model.set_model (srt);
|
||||
|
||||
caps_selecton_model.notify["selected-item"].connect (() => start_stream_from (current_camera));
|
||||
caps_selecton_model.notify["selected-item"].connect (() => { message ("Selected item changed %u", caps_selecton_model.selected); start_stream_from (current_camera); });
|
||||
}
|
||||
|
||||
private bool is_initialised = false;
|
||||
|
@ -185,9 +183,6 @@ public class EyeNeko.Gstreamer : Object {
|
|||
start_stream_from (current_camera);
|
||||
}
|
||||
});
|
||||
notify["current-caps"].connect (() => {
|
||||
start_stream_from (current_camera);
|
||||
});
|
||||
|
||||
Gdk.GLContext context;
|
||||
viewfinder_paintable.get ("gl-context", out context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue