Ticket #12522: ticket-12522-disable-streaming-mode.diff

File ticket-12522-disable-streaming-mode.diff, 958 bytes (added by Stuart Auchterlonie, 4 years ago)

Disable streaming mode for all tuners

  • mythtv/libs/libmythtv/recorders/v4lchannel.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/v4lchannel.cpp b/mythtv/libs/libmythtv/recorders/v4lchannel.cpp
    index c0210a8..337d285 100644
    a b bool V4LChannel::Open(void) 
    9494    has_tuner      = !!(capabilities & V4L2_CAP_TUNER);
    9595    has_sliced_vbi = !!(capabilities & V4L2_CAP_SLICED_VBI_CAPTURE);
    9696
    97     if (driver_name == "bttv" || driver_name == "cx8800")
    98         has_stream_io = false; // driver workaround, see #9825 & #10519
     97    // if (driver_name == "bttv" || driver_name == "cx8800")
     98    //    has_stream_io = false; // driver workaround, see #9825 & #10519
     99
     100    // HACK: We don't support the v4l2 streaming api at all.
     101    // Disable the capability for all tuners
     102    has_stream_io = false;
    99103
    100104    LOG(VB_CHANNEL, LOG_INFO, LOC + QString("Device name '%1' driver '%2'.")
    101105            .arg(device_name).arg(driver_name));