Skip to content

Commit

Permalink
AvFormatDecoder: Relax the Null video check for accelerated decoding.
Browse files Browse the repository at this point in the history
It's up to the parent object to ensure that the kDecodeAllowGPU flag is
set appropriately if VDPAU etc is desired,
  • Loading branch information
Mark Kendall committed Dec 14, 2011
1 parent fee32f7 commit 00a5ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -1810,7 +1810,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
if (version)
video_codec_id = (MythCodecID)(kCodec_MPEG1 + version - 1);

if (!FlagIsSet(kVideoIsNull) && version)
if (version)
{
#if defined(USING_VDPAU)
// HACK -- begin
Expand Down

0 comments on commit 00a5ff3

Please sign in to comment.