Hello.

I started building mpeg2dec_onroot against the actual libmpeg2-4-dev we
have in debian.

As expected, there are changes to be made.
The first one is to use mpeg2_tag_picture() instead of mpeg2_pts() which
has been droped.

Second, we should use a pointer to mpeg2dec:

 - static mpeg2dec_t mpeg2dec;
 + static mpeg2dec_t *mpeg2dec;

The last change to made is the most difficult one: the function
mpeg2dec_decode_data does not exist anymore, and no other function has
the same prototype.

It seems that we should use mpeg2dec_buffer() which takes the same args
but return a stat einstead of a frame number. Moreover, data has to be
parsed by mpeg2dec_parse().

I cannot manage currently to have it working well, any help is welcome
:)

Spot, if you can take a look at this migration ,I would be glad :-)

-- 

 - Alexis Sukrieh 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to