Permalink
Browse files

MythArchive: update mythburn.cpp to work with the new mpeg2video code…

…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 8e353eec3d1f12e05566565feb2f7fb9f9dbb500
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythplugins/mytharchive/mytharchive/mythburn.cpp
@@ -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()

0 comments on commit 8e353ee

Please sign in to comment.