mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 20:20:38 +00:00
e54cbf7850
Fixes spurious SEGVs due to multithreading conflicts in client-side-window Gtk versions.
424 lines
20 KiB
XML
424 lines
20 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="2.16"/>
|
|
<!-- interface-naming-policy project-wide -->
|
|
<object class="GtkWindow" id="windowMain">
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
<property name="title" translatable="yes">gst-camera</property>
|
|
<signal name="delete_event" handler="on_windowMain_delete_event"/>
|
|
<child>
|
|
<object class="GtkVBox" id="vboxMain">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkHBox" id="hbox2">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkMenuBar" id="menubar1">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkMenuItem" id="menuitemPhotography">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Photography</property>
|
|
<property name="use_underline">True</property>
|
|
<child type="submenu">
|
|
<object class="GtkMenu" id="menu1">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkMenuItem" id="menuitemCapture">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Capture</property>
|
|
<property name="use_underline">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="comboboxResolution">
|
|
<property name="visible">True</property>
|
|
<property name="model">liststore1</property>
|
|
<signal name="changed" handler="on_comboboxResolution_changed"/>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderertext1"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkHBox" id="hboxMode">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkRadioButton" id="radiobuttonImageCapture">
|
|
<property name="label" translatable="yes">Image capture</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_radiobuttonImageCapture_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="radiobuttonVideoCapture">
|
|
<property name="label" translatable="yes">Video rec</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">radiobuttonImageCapture</property>
|
|
<signal name="toggled" handler="on_radiobuttonVideoCapture_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="buttonShot">
|
|
<property name="label" translatable="yes">Shot</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<signal name="clicked" handler="on_buttonShot_clicked"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="buttonPause">
|
|
<property name="label" translatable="yes">Pause</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<signal name="clicked" handler="on_buttonPause_clicked"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="chkbntMute">
|
|
<property name="label" translatable="yes">mute</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_chkbntMute_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="chkbntContinous">
|
|
<property name="label" translatable="yes">continous</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="chkbtnRawMsg">
|
|
<property name="label" translatable="yes">raw msg</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="tooltip_text" translatable="yes">Send raw image after still image capture as gstreamer message</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_chkbtnRawMsg_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">6</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTable" id="tableOptions">
|
|
<property name="visible">True</property>
|
|
<property name="n_columns">3</property>
|
|
<child>
|
|
<object class="GtkVBox" id="vboxVidEffect">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="labelVidEff">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">video effects:</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffNone">
|
|
<property name="label" translatable="yes">none</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffNone_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffEdge">
|
|
<property name="label" translatable="yes">edged</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffEdge_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffAging">
|
|
<property name="label" translatable="yes">aging</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffAging_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffDice">
|
|
<property name="label" translatable="yes">dice</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffDice_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffWarp">
|
|
<property name="label" translatable="yes">warp</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffWarp_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffShaga">
|
|
<property name="label" translatable="yes">shagadelic</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffShagadelic_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">6</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffVertigo">
|
|
<property name="label" translatable="yes">vertigo</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffVertigo_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">7</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffRev">
|
|
<property name="label" translatable="yes">rev</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffRev_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">8</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkRadioButton" id="rbBntVidEffQuark">
|
|
<property name="label" translatable="yes">quark</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffQuark_toggled"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">9</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="x_options"></property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="scrlWndColorControls">
|
|
<property name="width_request">200</property>
|
|
<property name="height_request">200</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
<child>
|
|
<object class="GtkViewport" id="viewportColorControls">
|
|
<property name="visible">True</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
<child>
|
|
<object class="GtkVBox" id="vboxColorControls">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="x_options"></property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAspectFrame" id="drawingareaFrame">
|
|
<property name="visible">True</property>
|
|
<property name="label_xalign">0</property>
|
|
<property name="shadow_type">none</property>
|
|
<property name="obey_child">False</property>
|
|
<child>
|
|
<object class="GtkAlignment" id="alignment1">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkDrawingArea" id="drawingareaView">
|
|
<property name="visible">True</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
<signal name="configure_event" handler="on_drawingareaView_configure_event"/>
|
|
<signal name="realize" handler="on_drawingareaView_realize"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkHScale" id="hscaleZoom">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="adjustment">adjustment1</property>
|
|
<property name="digits">0</property>
|
|
<property name="value_pos">left</property>
|
|
<signal name="value_changed" handler="on_hscaleZoom_value_changed"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkAdjustment" id="adjustment1">
|
|
<property name="lower">100</property>
|
|
<property name="upper">1100</property>
|
|
<property name="value">100</property>
|
|
<property name="step_increment">10</property>
|
|
<property name="page_increment">100</property>
|
|
<property name="page_size">100</property>
|
|
</object>
|
|
<object class="GtkListStore" id="liststore1">
|
|
<columns>
|
|
<!-- column-name item text -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
</interface>
|