Ticket #8850: mythtv-0.22-codec_id_svq3_fix.patch

File mythtv-0.22-codec_id_svq3_fix.patch, 671 bytes (added by pebender@…, 14 years ago)
  • libs/libmythtv/avformatdecoder.cpp

    diff -Naur mythtv-0.22-25328-old/libs/libmythtv/avformatdecoder.cpp mythtv-0.22-25328-new/libs/libmythtv/avformatdecoder.cpp
    old new  
    17241724                if (!codec_is_std(video_codec_id))
    17251725                    thread_count = 1;
    17261726
     1727                if (enc->codec_id == CODEC_ID_SVQ3)
     1728                    thread_count = 1;
     1729
    17271730                VERBOSE(VB_PLAYBACK, QString("Using %1 CPUs for decoding")
    17281731                        .arg(HAVE_THREADS ? thread_count : 1));
    17291732