[mythtv-commits] mythtv commit: r12617 by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Jan 22 06:26:25 UTC 2007
Author: cpinkham
Date: 2007-01-22 06:26:25 +0000 (Mon, 22 Jan 2007)
New Revision: 12617
Changeset: http://cvs.mythtv.org/trac/changeset/12617
Added:
trunk/mythtv/libs/libmythtv/avfringbuffer.cpp
trunk/mythtv/libs/libmythtv/avfringbuffer.h
Modified:
trunk/mythtv/libs/libmythtv/avformatdecoder.cpp
trunk/mythtv/libs/libmythtv/avformatdecoder.h
trunk/mythtv/libs/libmythtv/libmythtv.pro
Log:
Move the avformat assist functions out from avformatdecoder.cpp into
separate avfringbuffer.cpp/h files so we can use them elsewhere (like in the
software encoder). Fill out the write function which was a stub previously.
open_avf -> AVF_Open
read_avf -> AVF_Read
write_avf -> AVF_Write
seek_avf -> AVF_Seek
close_avf -> AVF_Close
rbuffer_protocol -> AVF_RingBuffer_Protocol
avf_write_packet -> AVF_Write_Packet
avf_read_packet -> AVF_Read_Packet
avf_seek_packet -> AVF_Seek_Packet
Create a AVFRingBuffer wrapper class which keeps track of the RingBuffer
being used so it can be used as the URLContext priv_data instead of the
AvFormatDecoder instance itself.
References #2972.
More information about the mythtv-commits
mailing list