[mythtv-users] Mytharchive - use default encoding profile
A JM
vbtalent at gmail.com
Fri Jul 20 17:56:56 UTC 2007
I understood the patch but was just trying to understand why it seemed
to not offer the option to "not re-encode".
I don't program in C but from what I see it looks like line 1166 was
the original line that set SP as the default profile. Now, with the
submitted changes you are allowed to choose your profile however "not
re-encoding" is not an option and the one that I was looking for...
AJM,
*
r12262 r14010
188 188 }
189 189
190 static HostComboBox *MythArchiveDefaultEncProfile()
191 {
192 HostComboBox *gc = new
HostComboBox("MythArchiveDefaultEncProfile");
193 gc->setLabel(QObject::tr("Default Encoder Profile"));
194
195 gc->addSelection("HQ", "HQ");
196 gc->addSelection("SP", "SP");
197 gc->addSelection("LP", "LP");
198 gc->addSelection("EP", "EP");
199 gc->setValue(1);
200 gc->setHelpText(QObject::tr("Default encoding profile
to use if a file "
201 "needs re-encoding."));
202 return gc;
203 }
204
190 205 static HostLineEdit *MythArchiveFfmpegCmd()
191 206 {
… …
291 306 vcg2->addChild(MythArchiveDateFormat());
292 307 vcg2->addChild(MythArchiveTimeFormat());
308 vcg2->addChild(MythArchiveDefaultEncProfile());
293 309 addChild(vcg2);
294 310
*
TabularUnified
trunk/mythplugins/mytharchive/mytharchive/mythburnwizard.cpp ¶
r13814 r14010
1162 1162 if (!profile)
1163 1163 {
1164 // file needs re-encoding - use SP profile by default
1164 // file needs re-encoding - use default profile setting
1165 QString defaultProfile =
1166
gContext->GetSetting("MythArchiveDefaultEncProfile", "SP");
1167
1165 1168 for (uint x = 0; x < profileList->size(); x++)
1166 if (profileList->at(x)->name == "SP")
1169 if (profileList->at(x)->name == defaultProfile)
1167 1170 profile = profileList->at(x);
1168 1171 }
More information about the mythtv-users
mailing list