[MPlayer-cvslog] r23326 - trunk/libmpdemux/muxer.h

Corey Hickey bugfood-ml at fatooh.org
Thu May 17 19:17:37 CEST 2007


Nico Sabbi wrote:
>> Modified: trunk/libmpdemux/muxer.h
>> ==============================================================================
>> --- trunk/libmpdemux/muxer.h	(original)
>> +++ trunk/libmpdemux/muxer.h	Thu May 17 02:15:08 2007
>> @@ -40,6 +40,7 @@ typedef struct {
>>   BITMAPINFOHEADER *bih;   // in format
>>   int encoder_delay; // in number of frames
>>   int decoder_delay; // in number of frames
>> +  int imgfmt;
>>   // mpeg specific:
>>   size_t ipb[3]; // sizes of I/P/B frames
>>   // muxer of that stream
>> _______________________________________________
>>  
>>
> 
> I know that I'm complaining late, but muxers and imgformats have nothing 
> to do with each other; can't the image format be deduced from the bih?

Not that I can tell, but if you have a suggestion I would be happy to
use it.

libmpdemux/ms_hdr.h:31
-----------------------------------------------------------------
typedef struct __attribute__((__packed__))
{
    int         biSize;
    int         biWidth;
    int         biHeight;
    short       biPlanes;
    short       biBitCount;
    int         biCompression;
    int         biSizeImage;
    int         biXPelsPerMeter;
    int         biYPelsPerMeter;
    int         biClrUsed;
    int         biClrImportant;
} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
-----------------------------------------------------------------


> That ibp[3] is total nonsense, too (yes, it's very old stuff)

I don't know anything about that one...

-Corey



More information about the MPlayer-cvslog mailing list