Ticket #3611: prevent_url_fseek_from_running_on_dvd.diff

File prevent_url_fseek_from_running_on_dvd.diff, 493 bytes (added by skamithi, 14 years ago)

this fix was suggested by janneg a while back .. it prevents url_fseek from running on dvds. it resolves 1 of the problems i'm having. next problem is that video is not been decoded in certain dvd titles.

  • libs/libmythtv/avformatdecoder.cpp

     
    663663    ic->pb.pos = 0;
    664664    ic->pb.must_flush = 0;
    665665    ic->pb.eof_reached = 0;
    666     ic->pb.is_streamed = 0;
     666    if (ringBuffer->isDVD())
     667        ic->pb.is_streamed = 1;
     668    else
     669        ic->pb.is_streamed = 0;
    667670    ic->pb.max_packet_size = 0;
    668671}
    669672