if( ui.slaveCheckbox->isChecked() ) {
mrl += " :input-slave=" + ui.slaveText->text();
}
- int i_cache = config_GetInt( p_intf, qta( storedMethod ) );
+ int i_cache = config_GetInt( p_intf, qtu( storedMethod ) );
if( i_cache != ui.cacheSpinBox->value() ) {
mrl += QString( " :%1=%2" ).arg( storedMethod ).
arg( ui.cacheSpinBox->value() );
{
if( method != storedMethod ) {
storedMethod = method;
- int i_value = config_GetInt( p_intf, qta( storedMethod ) );
+ int i_value = config_GetInt( p_intf, qtu( storedMethod ) );
ui.cacheSpinBox->setValue( i_value );
}
}
if( !value.isEmpty() )
{
- char *psz = config_StringEscape( qta(value) );
+ char *psz = config_StringEscape( qtu(value) );
if( psz )
{
QString v = QString( psz );
{
QString profileString =
ui.profileBox->itemData( ui.profileBox->currentIndex() ).toString();
- msg_Dbg( p_intf, "Profile Used: %s", qta( profileString ));
+ msg_Dbg( p_intf, "Profile Used: %s", qtu( profileString ));
int index;
#define setProfile( muxName, hasVideo, vCodecName, hasAudio, aCodecName ) \
sout.i_ab = ui.aBitrateSpin->value();
sout.i_vb = ui.vBitrateSpin->value();
sout.i_channels = ui.aChannelsSpin->value();
- sout.f_scale = atof( qta( ui.vScaleBox->currentText() ) );
+ sout.f_scale = atof( qtu( ui.vScaleBox->currentText() ) );
sout.psz_group = strdup( qtu( ui.sapGroup->text() ) );
sout.psz_name = strdup( qtu( ui.sapName->text() ) );
#define qfu( i ) QString::fromUtf8( i )
#define qtr( i ) QString::fromUtf8( _(i) )
#define qtu( i ) ((i).toUtf8().constData())
-#define qta( i ) ((i).toAscii().constData())
#define CONNECT( a, b, c, d ) connect( a, SIGNAL( b ), c, SLOT(d) )
#define BUTTONACT( b, a ) connect( b, SIGNAL( clicked() ), this, SLOT(a) )