[pitivi] render: Container UI below Preset UI



commit a45ca38b8083e2abfff169fc7d0907ccbae1b5a0
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Thu Oct 22 12:50:22 2015 +0200

    render: Container UI below Preset UI
    
    Differential Revision: https://phabricator.freedesktop.org/D418
    Reviewed-by: Thibault Saunier <tsaunier gnome org>

 data/ui/renderingdialog.ui |  607 ++++++++++++++++++++++----------------------
 1 files changed, 304 insertions(+), 303 deletions(-)
---
diff --git a/data/ui/renderingdialog.ui b/data/ui/renderingdialog.ui
index 4595dfe..da5301c 100644
--- a/data/ui/renderingdialog.ui
+++ b/data/ui/renderingdialog.ui
@@ -137,95 +137,240 @@
             <property name="row_spacing">6</property>
             <property name="column_spacing">12</property>
             <child>
-              <object class="GtkBox" id="preset_box">
+              <object class="GtkGrid" id="table2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="halign">end</property>
-                <property name="margin_top">12</property>
-                <property name="spacing">6</property>
+                <property name="row_spacing">6</property>
+                <property name="column_spacing">6</property>
+                <child>
+                  <object class="GtkFileChooserButton" id="filebutton">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="hexpand">True</property>
+                    <property name="action">select-folder</property>
+                    <signal name="current-folder-changed" handler="_checkForExistingFile" swapped="no"/>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="filebutton-atkobject">
+                        <property name="AtkObject::accessible-name" translatable="yes">Folder</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label1">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="label" translatable="yes">Folder:</property>
+                    <accessibility>
+                      <relation type="label-for" target="filebutton"/>
+                    </accessibility>
+                  </object>
+                  <packing>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label5">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="label" translatable="yes">File name:</property>
+                    <accessibility>
+                      <relation type="label-for" target="fileentry"/>
+                    </accessibility>
+                  </object>
+                  <packing>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">1</property>
+                  </packing>
+                </child>
                 <child>
-                  <object class="GtkLabel" id="label6">
+                  <object class="GtkEntry" id="fileentry">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="activates_default">True</property>
+                    <signal name="changed" handler="_checkForExistingFile" swapped="no"/>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="fileentry-atkobject">
+                        <property name="AtkObject::accessible-name" translatable="yes">File name</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="label2">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="halign">start</property>
-                    <property name="label" translatable="yes">Preset:</property>
-                    <attributes>
-                      <attribute name="weight" value="bold"/>
-                    </attributes>
+                    <property name="label" translatable="yes">Container format:</property>
                   </object>
                   <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">True</property>
-                    <property name="position">0</property>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">3</property>
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkComboBox" id="presets_combo">
+                  <object class="GtkBox" id="box2">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="has_entry">True</property>
-                    <child internal-child="entry">
-                      <object class="GtkEntry" id="combobox-entry">
+                    <property name="spacing">6</property>
+                    <child>
+                      <object class="GtkComboBox" id="muxercombobox">
+                        <property name="visible">True</property>
                         <property name="can_focus">False</property>
+                        <property name="halign">start</property>
+                        <property name="model">model1</property>
+                        <property name="active">0</property>
+                        <signal name="changed" handler="_muxerComboChangedCb" swapped="no"/>
+                        <child>
+                          <object class="GtkCellRendererText" id="renderer1"/>
+                          <attributes>
+                            <attribute name="text">0</attribute>
+                          </attributes>
+                        </child>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="muxercombobox-atkobject">
+                            <property name="AtkObject::accessible-name" translatable="yes">Container 
format</property>
+                          </object>
+                        </child>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkButton" id="container_context_help_button">
+                        <property name="label" translatable="yes">Help</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">True</property>
+                        <property name="image">help_icon</property>
+                        <property name="always_show_image">True</property>
+                        <signal name="clicked" handler="_containerContextHelpClickedCb" swapped="no"/>
                       </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
                     </child>
                   </object>
                   <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">True</property>
-                    <property name="position">1</property>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">3</property>
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkMenuButton" id="preset_menubutton">
+                  <object class="GtkBox" id="preset_box">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
-                    <property name="relief">none</property>
+                    <property name="can_focus">False</property>
+                    <property name="halign">end</property>
+                    <property name="margin_top">12</property>
+                    <property name="margin_bottom">12</property>
+                    <property name="spacing">6</property>
                     <child>
-                      <object class="GtkImage" id="image1">
+                      <object class="GtkLabel" id="label6">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="icon_name">open-menu-symbolic</property>
+                        <property name="halign">start</property>
+                        <property name="label" translatable="yes">Preset:</property>
+                        <attributes>
+                          <attribute name="weight" value="bold"/>
+                        </attributes>
                       </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkComboBox" id="presets_combo">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="has_entry">True</property>
+                        <child internal-child="entry">
+                          <object class="GtkEntry" id="combobox-entry">
+                            <property name="can_focus">True</property>
+                          </object>
+                        </child>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkMenuButton" id="preset_menubutton">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">True</property>
+                        <property name="relief">none</property>
+                        <child>
+                          <object class="GtkImage" id="image1">
+                            <property name="visible">True</property>
+                            <property name="can_focus">False</property>
+                            <property name="icon_name">open-menu-symbolic</property>
+                          </object>
+                        </child>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">2</property>
+                      </packing>
                     </child>
                   </object>
                   <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">True</property>
-                    <property name="position">2</property>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">2</property>
+                    <property name="width">2</property>
                   </packing>
                 </child>
               </object>
               <packing>
                 <property name="left_attach">0</property>
-                <property name="top_attach">1</property>
+                <property name="top_attach">0</property>
                 <property name="width">2</property>
               </packing>
             </child>
             <child>
-              <object class="GtkFrame" id="audio_frame">
+              <object class="GtkFrame" id="video_frame">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label_xalign">0</property>
                 <child>
-                  <object class="GtkAlignment" id="alignment2">
+                  <object class="GtkAlignment" id="alignment1">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="left_padding">12</property>
                     <child>
-                      <object class="GtkBox" id="box4">
+                      <object class="GtkBox" id="box3">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="border_width">12</property>
                         <property name="orientation">vertical</property>
                         <property name="spacing">6</property>
                         <child>
-                          <object class="GtkLabel" id="label23">
+                          <object class="GtkLabel" id="label3">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="label" translatable="yes">Channels:</property>
+                            <property name="label" translatable="yes">Scale:</property>
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
@@ -237,17 +382,56 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkComboBox" id="channels_combo">
+                          <object class="GtkBox" id="hbox3">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="model">model5</property>
-                            <signal name="changed" handler="_channelsComboChangedCb" swapped="no"/>
+                            <property name="spacing">12</property>
                             <child>
-                              <object class="GtkCellRendererText" id="renderer5"/>
-                              <attributes>
-                                <attribute name="text">0</attribute>
-                              </attributes>
+                              <object class="GtkSpinButton" id="scale_spinbutton">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="halign">start</property>
+                                <property name="invisible_char">•</property>
+                                <property name="text" translatable="yes">1.0</property>
+                                <property name="primary_icon_activatable">False</property>
+                                <property name="secondary_icon_activatable">False</property>
+                                <property name="adjustment">adjustment1</property>
+                                <property name="digits">1</property>
+                                <property name="numeric">True</property>
+                                <property name="value">1</property>
+                                <signal name="value-changed" handler="_scaleSpinbuttonChangedCb" 
swapped="no"/>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" id="scale_spinbutton-atkobject">
+                                    <property name="AtkObject::accessible-name" 
translatable="yes">Scale</property>
+                                  </object>
+                                </child>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">False</property>
+                                <property name="position">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkLabel" id="resolution_label">
+                                <property name="visible">True</property>
+                                <property name="can_focus">False</property>
+                                <property name="halign">start</property>
+                                <property name="label" translatable="yes">1000 x 1000</property>
+                                <property name="width_chars">12</property>
+                                <property name="xalign">0</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" id="resolution_label-atkobject">
+                                    <property name="AtkObject::accessible-name" 
translatable="yes">Height</property>
+                                  </object>
+                                </child>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">True</property>
+                                <property name="position">1</property>
+                              </packing>
                             </child>
                           </object>
                           <packing>
@@ -257,31 +441,45 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkButton" id="audio_settings_button">
+                          <object class="GtkButton" id="project_settings_button">
+                            <property name="label" translatable="yes">Project Settings...</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">True</property>
+                            <property name="halign">end</property>
+                            <signal name="clicked" handler="_projectSettingsButtonClickedCb" swapped="no"/>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkButton" id="video_settings_button">
                             <property name="label" translatable="yes">Advanced...</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">True</property>
                             <property name="halign">end</property>
-                            <property name="xalign">1</property>
-                            <signal name="clicked" handler="_audioSettingsButtonClickedCb" swapped="no"/>
+                            <signal name="clicked" handler="_videoSettingsButtonClickedCb" swapped="no"/>
                           </object>
                           <packing>
                             <property name="expand">False</property>
                             <property name="fill">False</property>
                             <property name="pack_type">end</property>
-                            <property name="position">2</property>
+                            <property name="position">3</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkComboBox" id="audio_encoder_combo">
+                          <object class="GtkComboBox" id="video_encoder_combo">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="model">model4</property>
-                            <signal name="changed" handler="_audioEncoderChangedComboCb" swapped="no"/>
+                            <property name="model">model2</property>
+                            <signal name="changed" handler="_videoEncoderComboChangedCb" swapped="no"/>
                             <child>
-                              <object class="GtkCellRendererText" id="renderer4"/>
+                              <object class="GtkCellRendererText" id="renderer2"/>
                               <attributes>
                                 <attribute name="text">0</attribute>
                               </attributes>
@@ -291,11 +489,11 @@
                             <property name="expand">False</property>
                             <property name="fill">False</property>
                             <property name="pack_type">end</property>
-                            <property name="position">3</property>
+                            <property name="position">4</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkLabel" id="label21">
+                          <object class="GtkLabel" id="label16">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
@@ -308,36 +506,41 @@
                             <property name="expand">False</property>
                             <property name="fill">True</property>
                             <property name="pack_type">end</property>
-                            <property name="position">4</property>
+                            <property name="position">5</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkComboBox" id="sample_rate_combo">
+                          <object class="GtkComboBox" id="frame_rate_combo">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="model">model5</property>
-                            <signal name="changed" handler="_sampleRateComboChangedCb" swapped="no"/>
+                            <property name="model">model3</property>
+                            <signal name="changed" handler="_frameRateComboChangedCb" swapped="no"/>
                             <child>
-                              <object class="GtkCellRendererText" id="renderer6"/>
+                              <object class="GtkCellRendererText" id="renderer3"/>
                               <attributes>
                                 <attribute name="text">0</attribute>
                               </attributes>
                             </child>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="frame_rate_combo-atkobject">
+                                <property name="AtkObject::accessible-name" 
translatable="yes">Framerate</property>
+                              </object>
+                            </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>
                             <property name="fill">False</property>
                             <property name="pack_type">end</property>
-                            <property name="position">5</property>
+                            <property name="position">6</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkLabel" id="label4">
+                          <object class="GtkLabel" id="label17">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="label" translatable="yes">Sample rate:</property>
+                            <property name="label" translatable="yes">Frame rate:</property>
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
@@ -346,7 +549,7 @@
                             <property name="expand">False</property>
                             <property name="fill">True</property>
                             <property name="pack_type">end</property>
-                            <property name="position">6</property>
+                            <property name="position">7</property>
                           </packing>
                         </child>
                       </object>
@@ -354,8 +557,8 @@
                   </object>
                 </child>
                 <child type="label">
-                  <object class="GtkCheckButton" id="audio_output_checkbutton">
-                    <property name="label" translatable="yes">Audio</property>
+                  <object class="GtkCheckButton" id="video_output_checkbutton">
+                    <property name="label" translatable="yes">Video</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
@@ -363,38 +566,38 @@
                     <property name="xalign">0</property>
                     <property name="active">True</property>
                     <property name="draw_indicator">True</property>
-                    <signal name="toggled" handler="_audioOutputCheckbuttonToggledCb" swapped="no"/>
+                    <signal name="toggled" handler="_videoOutputCheckbuttonToggledCb" swapped="no"/>
                   </object>
                 </child>
               </object>
               <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">2</property>
+                <property name="left_attach">0</property>
+                <property name="top_attach">1</property>
               </packing>
             </child>
             <child>
-              <object class="GtkFrame" id="video_frame">
+              <object class="GtkFrame" id="audio_frame">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label_xalign">0</property>
                 <child>
-                  <object class="GtkAlignment" id="alignment1">
+                  <object class="GtkAlignment" id="alignment2">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="left_padding">12</property>
                     <child>
-                      <object class="GtkBox" id="box3">
+                      <object class="GtkBox" id="box4">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="border_width">12</property>
                         <property name="orientation">vertical</property>
                         <property name="spacing">6</property>
                         <child>
-                          <object class="GtkLabel" id="label3">
+                          <object class="GtkLabel" id="label23">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="label" translatable="yes">Scale:</property>
+                            <property name="label" translatable="yes">Channels:</property>
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
@@ -406,56 +609,17 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkBox" id="hbox3">
+                          <object class="GtkComboBox" id="channels_combo">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="spacing">12</property>
-                            <child>
-                              <object class="GtkSpinButton" id="scale_spinbutton">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="halign">start</property>
-                                <property name="invisible_char">•</property>
-                                <property name="text" translatable="yes">1.0</property>
-                                <property name="primary_icon_activatable">False</property>
-                                <property name="secondary_icon_activatable">False</property>
-                                <property name="adjustment">adjustment1</property>
-                                <property name="digits">1</property>
-                                <property name="numeric">True</property>
-                                <property name="value">1</property>
-                                <signal name="value-changed" handler="_scaleSpinbuttonChangedCb" 
swapped="no"/>
-                                <child internal-child="accessible">
-                                  <object class="AtkObject" id="scale_spinbutton-atkobject">
-                                    <property name="AtkObject::accessible-name" 
translatable="yes">Scale</property>
-                                  </object>
-                                </child>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="fill">False</property>
-                                <property name="position">0</property>
-                              </packing>
-                            </child>
+                            <property name="model">model5</property>
+                            <signal name="changed" handler="_channelsComboChangedCb" swapped="no"/>
                             <child>
-                              <object class="GtkLabel" id="resolution_label">
-                                <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="halign">start</property>
-                                <property name="label" translatable="yes">1000 x 1000</property>
-                                <property name="width_chars">12</property>
-                                <property name="xalign">0</property>
-                                <child internal-child="accessible">
-                                  <object class="AtkObject" id="resolution_label-atkobject">
-                                    <property name="AtkObject::accessible-name" 
translatable="yes">Height</property>
-                                  </object>
-                                </child>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="fill">True</property>
-                                <property name="position">1</property>
-                              </packing>
+                              <object class="GtkCellRendererText" id="renderer5"/>
+                              <attributes>
+                                <attribute name="text">0</attribute>
+                              </attributes>
                             </child>
                           </object>
                           <packing>
@@ -465,45 +629,31 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkButton" id="project_settings_button">
-                            <property name="label" translatable="yes">Project Settings...</property>
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">True</property>
-                            <property name="halign">end</property>
-                            <signal name="clicked" handler="_projectSettingsButtonClickedCb" swapped="no"/>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">2</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkButton" id="video_settings_button">
+                          <object class="GtkButton" id="audio_settings_button">
                             <property name="label" translatable="yes">Advanced...</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">True</property>
                             <property name="halign">end</property>
-                            <signal name="clicked" handler="_videoSettingsButtonClickedCb" swapped="no"/>
+                            <property name="xalign">1</property>
+                            <signal name="clicked" handler="_audioSettingsButtonClickedCb" swapped="no"/>
                           </object>
                           <packing>
                             <property name="expand">False</property>
                             <property name="fill">False</property>
                             <property name="pack_type">end</property>
-                            <property name="position">3</property>
+                            <property name="position">2</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkComboBox" id="video_encoder_combo">
+                          <object class="GtkComboBox" id="audio_encoder_combo">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="model">model2</property>
-                            <signal name="changed" handler="_videoEncoderComboChangedCb" swapped="no"/>
+                            <property name="model">model4</property>
+                            <signal name="changed" handler="_audioEncoderChangedComboCb" swapped="no"/>
                             <child>
-                              <object class="GtkCellRendererText" id="renderer2"/>
+                              <object class="GtkCellRendererText" id="renderer4"/>
                               <attributes>
                                 <attribute name="text">0</attribute>
                               </attributes>
@@ -513,11 +663,11 @@
                             <property name="expand">False</property>
                             <property name="fill">False</property>
                             <property name="pack_type">end</property>
-                            <property name="position">4</property>
+                            <property name="position">3</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkLabel" id="label16">
+                          <object class="GtkLabel" id="label21">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
@@ -530,41 +680,36 @@
                             <property name="expand">False</property>
                             <property name="fill">True</property>
                             <property name="pack_type">end</property>
-                            <property name="position">5</property>
+                            <property name="position">4</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkComboBox" id="frame_rate_combo">
+                          <object class="GtkComboBox" id="sample_rate_combo">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="model">model3</property>
-                            <signal name="changed" handler="_frameRateComboChangedCb" swapped="no"/>
+                            <property name="model">model5</property>
+                            <signal name="changed" handler="_sampleRateComboChangedCb" swapped="no"/>
                             <child>
-                              <object class="GtkCellRendererText" id="renderer3"/>
+                              <object class="GtkCellRendererText" id="renderer6"/>
                               <attributes>
                                 <attribute name="text">0</attribute>
                               </attributes>
                             </child>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" id="frame_rate_combo-atkobject">
-                                <property name="AtkObject::accessible-name" 
translatable="yes">Framerate</property>
-                              </object>
-                            </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>
                             <property name="fill">False</property>
                             <property name="pack_type">end</property>
-                            <property name="position">6</property>
+                            <property name="position">5</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkLabel" id="label17">
+                          <object class="GtkLabel" id="label4">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="halign">start</property>
-                            <property name="label" translatable="yes">Frame rate:</property>
+                            <property name="label" translatable="yes">Sample rate:</property>
                             <attributes>
                               <attribute name="weight" value="bold"/>
                             </attributes>
@@ -573,7 +718,7 @@
                             <property name="expand">False</property>
                             <property name="fill">True</property>
                             <property name="pack_type">end</property>
-                            <property name="position">7</property>
+                            <property name="position">6</property>
                           </packing>
                         </child>
                       </object>
@@ -581,8 +726,8 @@
                   </object>
                 </child>
                 <child type="label">
-                  <object class="GtkCheckButton" id="video_output_checkbutton">
-                    <property name="label" translatable="yes">Video</property>
+                  <object class="GtkCheckButton" id="audio_output_checkbutton">
+                    <property name="label" translatable="yes">Audio</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
@@ -590,157 +735,13 @@
                     <property name="xalign">0</property>
                     <property name="active">True</property>
                     <property name="draw_indicator">True</property>
-                    <signal name="toggled" handler="_videoOutputCheckbuttonToggledCb" swapped="no"/>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">2</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkGrid" id="table2">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="row_spacing">6</property>
-                <property name="column_spacing">6</property>
-                <child>
-                  <object class="GtkFileChooserButton" id="filebutton">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="halign">start</property>
-                    <property name="hexpand">True</property>
-                    <property name="action">select-folder</property>
-                    <signal name="current-folder-changed" handler="_checkForExistingFile" swapped="no"/>
-                    <child internal-child="accessible">
-                      <object class="AtkObject" id="filebutton-atkobject">
-                        <property name="AtkObject::accessible-name" translatable="yes">Folder</property>
-                      </object>
-                    </child>
-                  </object>
-                  <packing>
-                    <property name="left_attach">1</property>
-                    <property name="top_attach">0</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkLabel" id="label2">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="halign">start</property>
-                    <property name="label" translatable="yes">Container format:</property>
-                  </object>
-                  <packing>
-                    <property name="left_attach">0</property>
-                    <property name="top_attach">2</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkLabel" id="label1">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="halign">start</property>
-                    <property name="label" translatable="yes">Folder:</property>
-                    <accessibility>
-                      <relation type="label-for" target="filebutton"/>
-                    </accessibility>
-                  </object>
-                  <packing>
-                    <property name="left_attach">0</property>
-                    <property name="top_attach">0</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkLabel" id="label5">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="halign">start</property>
-                    <property name="label" translatable="yes">File name:</property>
-                    <accessibility>
-                      <relation type="label-for" target="fileentry"/>
-                    </accessibility>
-                  </object>
-                  <packing>
-                    <property name="left_attach">0</property>
-                    <property name="top_attach">1</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkEntry" id="fileentry">
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="activates_default">True</property>
-                    <signal name="changed" handler="_checkForExistingFile" swapped="no"/>
-                    <child internal-child="accessible">
-                      <object class="AtkObject" id="fileentry-atkobject">
-                        <property name="AtkObject::accessible-name" translatable="yes">File name</property>
-                      </object>
-                    </child>
-                  </object>
-                  <packing>
-                    <property name="left_attach">1</property>
-                    <property name="top_attach">1</property>
-                  </packing>
-                </child>
-                <child>
-                  <object class="GtkBox" id="box2">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="spacing">6</property>
-                    <child>
-                      <object class="GtkComboBox" id="muxercombobox">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="halign">start</property>
-                        <property name="model">model1</property>
-                        <property name="active">0</property>
-                        <signal name="changed" handler="_muxerComboChangedCb" swapped="no"/>
-                        <child>
-                          <object class="GtkCellRendererText" id="renderer1"/>
-                          <attributes>
-                            <attribute name="text">0</attribute>
-                          </attributes>
-                        </child>
-                        <child internal-child="accessible">
-                          <object class="AtkObject" id="muxercombobox-atkobject">
-                            <property name="AtkObject::accessible-name" translatable="yes">Container 
format</property>
-                          </object>
-                        </child>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">True</property>
-                        <property name="position">0</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkButton" id="container_context_help_button">
-                        <property name="label" translatable="yes">Help</property>
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="receives_default">True</property>
-                        <property name="image">help_icon</property>
-                        <property name="always_show_image">True</property>
-                        <signal name="clicked" handler="_containerContextHelpClickedCb" swapped="no"/>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">True</property>
-                        <property name="position">1</property>
-                      </packing>
-                    </child>
+                    <signal name="toggled" handler="_audioOutputCheckbuttonToggledCb" swapped="no"/>
                   </object>
-                  <packing>
-                    <property name="left_attach">1</property>
-                    <property name="top_attach">2</property>
-                  </packing>
                 </child>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
-                <property name="width">2</property>
+                <property name="left_attach">1</property>
+                <property name="top_attach">1</property>
               </packing>
             </child>
           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]