[gst-devel] gstreamer endianess

Mattias Barthel mb at novanotio.es
Tue May 20 17:52:09 CEST 2008


Wim Taymans wrote:
> On Tue, 2008-05-20 at 17:27 +0200, Mattias Barthel wrote:
>   
>> Hi,
>>
>> I am trying to get a simple pipeline working from a Ps3(CELL CPU) to an 
>> Intel desktop using udpsink/udpsrc.
>>     
>
> Using RTP? what payload type?
>   
Yes, using rtptheoradepay
>   
>> I have noticed that various variables of integer storage size are 
>> incorrect in the header of a buffer on the recieving side .
>>     
>
> What variables? 
>   
Using header and then ident. The ident variable is not being well 
understood if I dont place a ntohl call on the Intel machine.
>   
>> I have seen that many plugins have some endianess property. Could this 
>> be used for this?
>>     
>
> Normally not, what plugin has such an endianness property?
>
>   
>> Is gstreamer endianess safe?
>>     
>
> Pretty much yes, it runs on both little endian and big endian machines
> for many years now.
>
>   

Maybe thats what you meant but
has it been tested between different machines as well?
> Wim
>
>   
>
Mattias




More information about the gstreamer-devel mailing list