[vlc-devel] commit: Qt: fix sample rate selection in the Sout profile. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Mar 14 14:40:35 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 14 14:40:02 2009 +0100| [b0119ef3111cf3370f50d93d4680ecd5a0c66d40] | committer: Jean-Baptiste Kempf
Qt: fix sample rate selection in the Sout profile.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0119ef3111cf3370f50d93d4680ecd5a0c66d40
---
.../gui/qt4/components/sout/profile_selector.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp b/modules/gui/qt4/components/sout/profile_selector.cpp
index 96b647f..775a391 100644
--- a/modules/gui/qt4/components/sout/profile_selector.cpp
+++ b/modules/gui/qt4/components/sout/profile_selector.cpp
@@ -306,7 +306,7 @@ void VLCProfileEditor::fillProfile( QString qs )
ui.aCodecBox->setCurrentIndex( ui.aCodecBox->findData( options[10] ) );
ui.aBitrateSpin->setValue( options[11].toInt() );
ui.aChannelsSpin->setValue( options[12].toInt() );
- ui.aSampleBox->setCurrentIndex( ui.aSampleBox->findData( options[13] ) );
+ ui.aSampleBox->setCurrentIndex( ui.aSampleBox->findText( options[13] ) );
ui.subsCodecBox->setCurrentIndex( ui.subsCodecBox->findData( options[14] ) );
ui.subsOverlay->setChecked( options[15].toInt() );
@@ -387,7 +387,7 @@ QString VLCProfileEditor::transcodeValue()
<< currentData( ui.vCodecBox ).toString()
<< QString::number( ui.vBitrateSpin->value() )
- << ui.vScaleBox->currentText()
+ << ui.vScaleBox->currentText()
<< QString::number( ui.vFrameBox->value() )
<< QString::number( ui.widthBox->value() )
<< QString::number( ui.heightBox->value() )
More information about the vlc-devel
mailing list