[MPlayer-dev-eng] Patch for hi resolution network video

Ivan Kalvachev ikalvachev at gmail.com
Wed Jul 27 20:04:20 CEST 2005


On 7/26/05, Ross Finlayson <finlayson at live.com> wrote:
> At 11:45 AM 7/25/05, Diego Biurrun wrote:
> >Ross, could you please review/apply this?
> 
> Unfortunately I don't want to install either of these patches, because
> there are problems with both.
> 
> The problem with the first patch is that it causes excessive memory
> consumption.  For many users, allocating a 2 MByte buffer will be excessive.

Can you do it with dynamic buffer change?
You can either use resize_packet or
allocate data buffer separately, use realloc, and then create packet
from it (as some other demuxer do) or allocate empty packed and
manually put the buffer in it.

I guess both will need changes in live.com

Happy Coding
  Ivan Kalvachev
 iive




More information about the MPlayer-dev-eng mailing list