Skip to content

Commit

Permalink
MythArchive: update mythburn.cpp to work with the new mpeg2video code…
Browse files Browse the repository at this point in the history
…c name

This fixes a bug where the default encoding profile was always chosen even if
the file was already a DVD compatible mpeg2 file.

Refs #11299

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
  • Loading branch information
paul-h authored and stuarta committed Feb 27, 2013
1 parent 2e62ddc commit 8e353ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mytharchive/mytharchive/mythburn.cpp
Expand Up @@ -551,7 +551,7 @@ EncoderProfile *MythBurn::getDefaultProfile(ArchiveItem *item)
EncoderProfile *profile = NULL;

// is the file an mpeg2 file?
if (item->videoCodec.toLower() == "mpeg2video")
if (item->videoCodec.toLower() == "mpeg2video (main)")
{
// does the file already have a valid DVD resolution?
if (gCoreContext->GetSetting("MythArchiveVideoFormat", "pal").toLower()
Expand Down

0 comments on commit 8e353ee

Please sign in to comment.