Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Martin Storsjö
On Tue, 30 Oct 2012, Luca Barbato wrote: Makes possible to support multiple video/audio streams with different fmtp. --- It isn't working yet and I'm too tired to find the bug, the concept is there anyway. libavformat/internal.h | 4 ++-- libavformat/movenc.c | 2 +- libavformat/rtp.c |

Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Luca Barbato
On 10/30/2012 10:31 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: Makes possible to support multiple video/audio streams with different fmtp. --- This is problematic, since you want unique RTP payload types for audio and video, and these might be in two different

Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Martin Storsjö
On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:31 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: Makes possible to support multiple video/audio streams with different fmtp. --- This is problematic, since you want unique RTP payload types for audio and video,

Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Luca Barbato
On 10/30/2012 10:55 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:31 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: Makes possible to support multiple video/audio streams with different fmtp. --- This is problematic, since you

Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Martin Storsjö
On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:55 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:31 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: Makes possible to support multiple video/audio streams with different

Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Luca Barbato
On 10/30/2012 11:06 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:55 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:31 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: Makes possible to support

Re: [libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-30 Thread Martin Storsjö
On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 11:06 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:55 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca Barbato wrote: On 10/30/2012 10:31 AM, Martin Storsjö wrote: On Tue, 30 Oct 2012, Luca

[libav-devel] [RFC] rtp: generate payload type from stream id

2012-10-29 Thread Luca Barbato
Makes possible to support multiple video/audio streams with different fmtp. --- It isn't working yet and I'm too tired to find the bug, the concept is there anyway. libavformat/internal.h | 4 ++-- libavformat/movenc.c | 2 +- libavformat/rtp.c | 5 +++-- libavformat/rtp.h | 9