Ticket #2335: 2335_fix.diff
File 2335_fix.diff, 840 bytes (added by , 17 years ago) |
---|
-
mythtv/libs/libmythtv/avformatdecoder.cpp
747 747 { 748 748 readcontext.prot = &AVF_RingBuffer_Protocol; 749 749 readcontext.flags = 0; 750 readcontext.is_streamed = 0; 750 if (ringBuffer->LiveMode()) 751 readcontext.is_streamed = 1; 752 else 753 readcontext.is_streamed = 0; 751 754 readcontext.max_packet_size = 0; 752 755 readcontext.priv_data = avfRingBuffer; 753 756 … … 769 772 ic->pb.eof_reached = 0; 770 773 if (ringBuffer->isDVD()) 771 774 ic->pb.is_streamed = 1; 775 else if (ringBuffer->LiveMode()) 776 ic->pb.is_streamed = 1; 772 777 else 773 778 ic->pb.is_streamed = 0; 774 779 ic->pb.max_packet_size = 0;