We need to reimplement an on-the-fly option to record streams.
I know this commit is crappy...
#endif
/* Record Button */
+#if 0
recordButton = new QPushButton;
setupSmallButton( recordButton );
advLayout->addWidget( recordButton );
BUTTON_SET_ACT_I( recordButton, "", record,
qtr( "Record" ), record() );
+#endif
/* Snapshot Button */
snapshotButton = new QPushButton;
{
input_item_t *p_item = input_GetItem( THEMIM->getInput() );
i_input_id = p_item->i_id;
-
+#if 0
recordButton->setVisible( var_GetBool( THEMIM->getInput(), "can-record" ) );
}
else
{
recordButton->setVisible( false );
+#endif
}
ABButton->setEnabled( enable );
+#if 0
recordButton->setEnabled( enable );
+#endif
if( enable && ( i_last_input_id != i_input_id ) )
{
}
}
+// TODO: On-the-fly record needs to be reimplemented
void AdvControlsWidget::record()
{
input_thread_t *p_input = THEMIM->getInput();
private:
intf_thread_t *p_intf;
- QPushButton *recordButton, *ABButton;
+#if 0
+ QPushButton *recordButton;
+#endif
+ QPushButton *ABButton;
QPushButton *snapshotButton, *frameButton;
static mtime_t timeA, timeB;
free( psz );
ui.timeshiftBox->setChecked( qs_filter.contains( "timeshift" ) );
ui.dumpBox->setChecked( qs_filter.contains( "dump" ) );
- ui.recordBox->setChecked( qs_filter.contains( "record" ) );
ui.bandwidthBox->setChecked( qs_filter.contains( "bandwidth" ) );
- optionWidgets.append( ui.recordBox );
optionWidgets.append( ui.dumpBox );
optionWidgets.append( ui.bandwidthBox );
optionWidgets.append( ui.timeshiftBox );
bool b_first = true;
qs_filter.clear();
- saveBox( "record", qobject_cast<QCheckBox *>(optionWidgets[recordChB]) );
saveBox( "dump", qobject_cast<QCheckBox *>(optionWidgets[dumpChB]) );
saveBox( "timeshift", qobject_cast<QCheckBox *>(optionWidgets[timeshiftChB]) );
saveBox( "bandwidth", qobject_cast<QCheckBox *>(optionWidgets[bandwidthChB] ) );
audioOutCoB,
normalizerChB,
volLW };
-enum { recordChB, dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
+enum { dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
enum { skinRB, qtRB };
class ConfigControl;
</property>
</widget>
</item>
- <item>
- <widget class="QCheckBox" name="recordBox" >
- <property name="text" >
- <string>_("Record")</string>
- </property>
- </widget>
- </item>
<item>
<widget class="QCheckBox" name="dumpBox" >
<property name="text" >
<tabstop>RTSP_TCPBox</tabstop>
<tabstop>systemCodecBox</tabstop>
<tabstop>timeshiftBox</tabstop>
- <tabstop>recordBox</tabstop>
<tabstop>dumpBox</tabstop>
<tabstop>bandwidthBox</tabstop>
</tabstops>